FUCK YOU MODULES HOMELAB RULES

This commit is contained in:
2025-10-13 22:18:10 -05:00
parent 6682df4338
commit 962f44f05e
38 changed files with 157 additions and 535 deletions

View File

@@ -15,12 +15,12 @@ in a borg archive to the specified repo
*/
let
cfg = config.modules.system.backups;
cfg = config.system.backups;
sec = config.sops.secrets;
borg = "${pkgs.borgbackup}/bin/borg";
in
{
options.modules.system.backups = {
options.system.backups = {
enable = lib.mkEnableOption "enables backups with borg";
baks = lib.mkOption {
type = lib.types.attrsOf (lib.types.attrsOf (lib.types.listOf lib.types.path));