implement backup cli for borgbackup

This commit is contained in:
lassulus
2023-12-04 17:05:37 +01:00
parent 4ace326aeb
commit e772d29f44
10 changed files with 125 additions and 53 deletions

View File

@@ -147,6 +147,8 @@ in
--network-id "$facts/zerotier-network-id"
'';
};
clanCore.state.zerotier.folders = [ "/var/lib/zerotier-one" ];
environment.systemPackages = [ config.clanCore.clanPkgs.zerotier-members ];
})
(lib.mkIf (config.clanCore.secretsUploadDirectory != null && !cfg.controller.enable && cfg.networkId != null) {