diff --git a/configuration/common/default.nix b/configuration/common/default.nix index df2363f..cd788f0 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -1,6 +1,10 @@ { config, pkgs, lib, ... }: { + imports = [ + ../../modules + ]; + networking.domain = "net.clerie.de"; time.timeZone = "Europe/Berlin"; diff --git a/hosts/dn42-il-gw1/configuration.nix b/hosts/dn42-il-gw1/configuration.nix index 70a2ea0..7ceac5f 100644 --- a/hosts/dn42-il-gw1/configuration.nix +++ b/hosts/dn42-il-gw1/configuration.nix @@ -7,7 +7,6 @@ ../../configuration/common ../../configuration/proxmox-vm ../../configuration/dn42 - ../../modules/policyrouting ]; boot.loader.grub.enable = true; diff --git a/hosts/dn42-il-gw5/configuration.nix b/hosts/dn42-il-gw5/configuration.nix index e329cd0..ca8314c 100644 --- a/hosts/dn42-il-gw5/configuration.nix +++ b/hosts/dn42-il-gw5/configuration.nix @@ -7,7 +7,6 @@ ../../configuration/common ../../configuration/proxmox-vm ../../configuration/dn42 - ../../modules/policyrouting ]; boot.loader.grub.enable = true; diff --git a/modules/default.nix b/modules/default.nix new file mode 100644 index 0000000..c93700a --- /dev/null +++ b/modules/default.nix @@ -0,0 +1,8 @@ +{ ... }: + +{ + imports = [ + ./policyrouting + ./anycast_healthchecker + ]; +}