Compare commits

..

3 Commits

Author SHA1 Message Date
653ee4e3b6
fix: use correct module name for backups
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-30 12:24:35 +05:30
e6068d34d5
fix: use correct variable for restic secrets
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-30 12:11:48 +05:30
87776a4867
chore: update flake.lock
* remove nixpkgs-immich

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-30 12:11:21 +05:30
3 changed files with 3 additions and 20 deletions

View File

@ -693,22 +693,6 @@
"type": "github"
}
},
"nixpkgs-immich": {
"locked": {
"lastModified": 1727171772,
"narHash": "sha256-6T0ctDFq0lepqjViL8TVw4RhpkHIUyoNWzPgTjPamZo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d026e3fa1ad0d78d9072d9afdeae515d2d68acae",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d026e3fa1ad0d78d9072d9afdeae515d2d68acae",
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1727571693,
@ -811,7 +795,6 @@
"nil": "nil",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"nixpkgs-immich": "nixpkgs-immich",
"nur": "nur",
"snowfall-lib": "snowfall-lib",
"srvos": "srvos",

View File

@ -84,8 +84,8 @@ with lib; {
in
mkIf cfg.enable {
age.secrets = {
restic-environment.file = cfg.resticEnvironment.file;
restic-password.file = cfg.resticPassword.file;
restic-environment.file = cfg.resticEnvironmentFile.file;
restic-password.file = cfg.resticPasswordFile.file;
};
services.restic.backups =

View File

@ -26,7 +26,7 @@
package = cfg.package;
};
snowflake.services.backup.config.postgresql = let
snowflake.services.backups.config.postgresql = let
compressSuffix = ".zstd";
compressCmd = "${pkgs.zstd}/bin/zstd -c";