poseidon: upgrade deprecated options
This commit is contained in:
parent
4b5b14d044
commit
f558b4b680
|
@ -11,7 +11,7 @@ with lib;
|
||||||
shadow-hashed-password-root = lib.fileContents ./shadow-hashed-password-root.secret;
|
shadow-hashed-password-root = lib.fileContents ./shadow-hashed-password-root.secret;
|
||||||
miniflux-admin-credentials = lib.fileContents ./miniflux-admin-credentials.secret;
|
miniflux-admin-credentials = lib.fileContents ./miniflux-admin-credentials.secret;
|
||||||
transmission-password = lib.fileContents ./transmission.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;
|
nextcloud-admin-user = lib.fileContents ./nextcloud-admin-user.secret;
|
||||||
lohr-shared-secret = lib.fileContents ./lohr-shared-secret.secret;
|
lohr-shared-secret = lib.fileContents ./lohr-shared-secret.secret;
|
||||||
gandiKey = lib.fileContents ./gandi-api-key.secret;
|
gandiKey = lib.fileContents ./gandi-api-key.secret;
|
||||||
|
|
|
@ -58,7 +58,7 @@ in
|
||||||
dbhost = "/run/postgresql";
|
dbhost = "/run/postgresql";
|
||||||
|
|
||||||
adminuser = my.secrets.nextcloud-admin-user;
|
adminuser = my.secrets.nextcloud-admin-user;
|
||||||
adminpass = my.secrets.nextcloud-admin-pass;
|
adminpassFile = "${my.secrets.nextcloud-admin-pass}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ in {
|
||||||
|
|
||||||
repository = cfg.repo;
|
repository = cfg.repo;
|
||||||
passwordFile = "/root/restic/password";
|
passwordFile = "/root/restic/password";
|
||||||
s3CredentialsFile = "/root/restic/creds";
|
environmentFile = "/root/restic/creds";
|
||||||
|
|
||||||
extraBackupArgs = [ "--verbose=2" ]
|
extraBackupArgs = [ "--verbose=2" ]
|
||||||
++ optional (builtins.length cfg.exclude != 0) excludeArg;
|
++ optional (builtins.length cfg.exclude != 0) excludeArg;
|
||||||
|
|
Loading…
Reference in a new issue