zfs hdds are BACK

This commit is contained in:
Simon Gardling 2025-07-24 20:02:39 -07:00
parent 1bc361e49c
commit 2de85c12ff
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
2 changed files with 17 additions and 18 deletions

View File

@ -22,7 +22,7 @@
./services/minecraft.nix
./services/wg.nix
# ./services/qbittorrent.nix
./services/qbittorrent.nix
./services/bitmagnet.nix
# ./services/matrix.nix
@ -40,13 +40,12 @@
};
# srvos enables vim, i don't want to use vim, disable it here:
programs.vim =
{
defaultEditor = false;
}
// lib.optionalAttrs (options.programs.vim ? enable) {
enable = false;
};
programs.vim = {
defaultEditor = false;
}
// lib.optionalAttrs (options.programs.vim ? enable) {
enable = false;
};
powerManagement = {
powertop.enable = true;

20
zfs.nix
View File

@ -31,7 +31,7 @@ in
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.extraPools = [
service_configs.zpool_ssds
# service_configs.zpool_hdds
service_configs.zpool_hdds
];
services.sanoid = {
@ -66,15 +66,15 @@ in
yearly = 0;
};
# datasets."${service_configs.zpool_hdds}" = {
# recursive = true;
# autoprune = true;
# autosnap = true;
# hourly = 0;
# daily = 0;
# monthly = 0;
# yearly = 0;
# };
datasets."${service_configs.zpool_hdds}" = {
recursive = true;
autoprune = true;
autosnap = true;
hourly = 0;
daily = 0;
monthly = 0;
yearly = 0;
};
};
services.zfs = {