sops&server
Some checks failed
Nix Build / build-nixos (push) Failing after 20s

This commit is contained in:
soraefir
2024-05-08 18:47:42 +02:00
parent 16540a9327
commit c636f15689
10 changed files with 197 additions and 17 deletions

View File

@ -8,7 +8,7 @@ let
sopsFilePath = (if isCI then ./mock.yaml else ./common.yaml);
in {
environment.systemPackages = with pkgs; [ sops ];
environment.sessionVariables.OPS_AGE_KEY_FILE = keyFilePath;
environment.sessionVariables.SOPS_AGE_KEY_FILE = keyFilePath;
sops.defaultSopsFile = sopsFilePath;
sops.age.keyFile = keyFilePath;

View File

@ -72,6 +72,7 @@ let
};
serverOpt = with lib; {
hostDomain = mkOption { type = types.str; };
shortName = mkOption { type = types.str; };
mailDomain = mkOption { type = types.str; };
mailServer = mkOption { type = types.str; };