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

20
zfs.nix
View File

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