diff options
Diffstat (limited to 'nixosConfigurations/manwe')
-rw-r--r-- | nixosConfigurations/manwe/default.nix | 6 | ||||
-rw-r--r-- | nixosConfigurations/manwe/mailserver/default.nix | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/nixosConfigurations/manwe/default.nix b/nixosConfigurations/manwe/default.nix index e7edbf9..3707440 100644 --- a/nixosConfigurations/manwe/default.nix +++ b/nixosConfigurations/manwe/default.nix @@ -1,11 +1,7 @@ { config, lib, ... }: with lib; { - imports = [ - ./mailserver - ./webserver.nix - ./hidden.nix - ]; + imports = attrValues (modulesIn ./.); nixfiles.modules = { nsd = { diff --git a/nixosConfigurations/manwe/mailserver/default.nix b/nixosConfigurations/manwe/mailserver/default.nix index 822de6f..cc8b41d 100644 --- a/nixosConfigurations/manwe/mailserver/default.nix +++ b/nixosConfigurations/manwe/mailserver/default.nix @@ -6,7 +6,7 @@ }: with lib; { - imports = [ inputs.mailserver.nixosModule ]; + imports = [ inputs.mailserver.nixosModule ] ++ attrValues (modulesIn ./.); ark.directories = with config.mailserver; [ "/var/lib/dovecot" @@ -85,10 +85,6 @@ with lib; inherit port; password = requirePass; }; - - # Just a list of accounts with aliases and hasedPasswords. Not necessarily - # secret, but kept from prying eyes. - loginAccounts = import ./hidden.nix lib; }; services = { |