chore: cleanup redundant module declarations
This commit is contained in:
parent
c4dadd9f25
commit
7dde5410e4
9 changed files with 8 additions and 17 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
flake,
|
||||
modulesPath,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
|
|
@ -14,7 +13,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
|
||||
services.arma.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
flake,
|
||||
modulesPath,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
|
@ -12,7 +11,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
services.yggdrasil.persistentKeys = false;
|
||||
deploy = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
flake,
|
||||
modulesPath,
|
||||
# config,
|
||||
...
|
||||
}:
|
||||
|
|
@ -12,7 +11,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
flake,
|
||||
modulesPath,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
|
|
@ -14,7 +13,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
|
||||
nix.settings = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
flake,
|
||||
modulesPath,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
|
|
@ -14,7 +13,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
pkgs,
|
||||
flake,
|
||||
modulesPath,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
|
@ -13,7 +12,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
networking = {
|
||||
hostName = "link-warden-tofu";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
flake,
|
||||
modulesPath,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
|
@ -12,7 +11,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
services.yggdrasil.persistentKeys = false;
|
||||
deploy = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
flake,
|
||||
modulesPath,
|
||||
# config,
|
||||
...
|
||||
}:
|
||||
|
|
@ -13,7 +12,6 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
services = {
|
||||
uptime-kuma = {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,17 @@
|
|||
{ flake, pkgs, ... }:
|
||||
{
|
||||
flake,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports =
|
||||
with builtins;
|
||||
map (fn: ./${fn}) (filter (fn: fn != "default.nix") (attrNames (readDir ./.)))
|
||||
++ [
|
||||
flake.inputs.disko.nixosModules.default
|
||||
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
zramSwap.enable = true;
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue