poseidon: upgrade deprecated options

This commit is contained in:
Antoine Martin 2021-11-17 00:58:54 +01:00
parent 4b5b14d044
commit f558b4b680
3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ with lib;
shadow-hashed-password-root = lib.fileContents ./shadow-hashed-password-root.secret;
miniflux-admin-credentials = lib.fileContents ./miniflux-admin-credentials.secret;
transmission-password = lib.fileContents ./transmission.secret;
nextcloud-admin-pass = lib.fileContents ./nextcloud-admin-pass.secret;
nextcloud-admin-pass = ./nextcloud-admin-pass.secret;
nextcloud-admin-user = lib.fileContents ./nextcloud-admin-user.secret;
lohr-shared-secret = lib.fileContents ./lohr-shared-secret.secret;
gandiKey = lib.fileContents ./gandi-api-key.secret;

View file

@ -58,7 +58,7 @@ in
dbhost = "/run/postgresql";
adminuser = my.secrets.nextcloud-admin-user;
adminpass = my.secrets.nextcloud-admin-pass;
adminpassFile = "${my.secrets.nextcloud-admin-pass}";
};
};

View file

@ -68,7 +68,7 @@ in {
repository = cfg.repo;
passwordFile = "/root/restic/password";
s3CredentialsFile = "/root/restic/creds";
environmentFile = "/root/restic/creds";
extraBackupArgs = [ "--verbose=2" ]
++ optional (builtins.length cfg.exclude != 0) excludeArg;