20 current 2025-10-07 00:49:35 25.05.20251001.5b5be50 6.12.49 *
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
cfg = config.modules.system.backups;
|
||||||
borg = "${pkgs.borgbackup}/bin/borg";
|
borg = "${pkgs.borgbackup}/bin/borg";
|
||||||
backup_paths = lib.unique config.modules.system.backups.paths;
|
backup_paths = lib.unique config.modules.system.backups.paths;
|
||||||
passwd_file = config.sops.secrets."borg_passwd".path;
|
passwd_file = config.sops.secrets."borg_passwd".path;
|
||||||
@@ -14,7 +15,7 @@ in
|
|||||||
};
|
};
|
||||||
repo = lib.mkOption {
|
repo = lib.mkOption {
|
||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
default = /holocron/borg;
|
default = "/holocron/borg";
|
||||||
description = "borg repository path";
|
description = "borg repository path";
|
||||||
};
|
};
|
||||||
passphraseFile = lib.mkOption {
|
passphraseFile = lib.mkOption {
|
||||||
|
|||||||
Reference in New Issue
Block a user