formatting

This commit is contained in:
Joseph Hanson 2024-07-07 20:28:16 -05:00
parent 4871234cee
commit 1968083917
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
3 changed files with 4 additions and 4 deletions

View file

@ -31,5 +31,4 @@
nginx.enable = true;
};
};
}

View file

@ -30,7 +30,5 @@ in
credentialsFile = config.sops.secrets."security/acme/env".path;
};
};
};
}

View file

@ -18,20 +18,23 @@ with lib;
"zfs"
];
zfs = {
forceImportRoot = false; # if stuck on boot, modify grub options , force importing isnt secure
forceImportRoot = false; # if stuck on boot, modify grub options, force importing isnt secure
extraPools = cfg.mountPoolsAtBoot;
};
};
services.zfs = {
autoScrub.enable = true;
# Defaults to weekly and is a bit too regular for my NAS
autoScrub.interval = "weekly";
trim.enable = true;
};
# Pushover notifications
environment.systemPackages = with pkgs; [
busybox
];
services.zfs.zed.settings = {
ZED_PUSHOVER_TOKEN = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-api-key.path})";
ZED_PUSHOVER_USER = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-user-key.path})";