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; nginx.enable = true;
}; };
}; };
} }

View file

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

View file

@ -22,16 +22,19 @@ with lib;
extraPools = cfg.mountPoolsAtBoot; extraPools = cfg.mountPoolsAtBoot;
}; };
}; };
services.zfs = { services.zfs = {
autoScrub.enable = true; autoScrub.enable = true;
# Defaults to weekly and is a bit too regular for my NAS # Defaults to weekly and is a bit too regular for my NAS
autoScrub.interval = "weekly"; autoScrub.interval = "weekly";
trim.enable = true; trim.enable = true;
}; };
# Pushover notifications # Pushover notifications
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
busybox busybox
]; ];
services.zfs.zed.settings = { services.zfs.zed.settings = {
ZED_PUSHOVER_TOKEN = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-api-key.path})"; 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})"; ZED_PUSHOVER_USER = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-user-key.path})";