From 362b9b6bb89b4e6358538bd174dcfa992fbf9e41 Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 9 Dec 2020 22:49:42 +0100 Subject: [PATCH] Add module import magic --- configuration/common/default.nix | 4 ++++ hosts/dn42-il-gw1/configuration.nix | 1 - hosts/dn42-il-gw5/configuration.nix | 1 - modules/default.nix | 8 ++++++++ 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 modules/default.nix 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 + ]; +}