From 2de85c12ffb7c7ce4c0d6963588ae276b69869f6 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 24 Jul 2025 20:02:39 -0700 Subject: [PATCH] zfs hdds are BACK --- configuration.nix | 15 +++++++-------- zfs.nix | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/configuration.nix b/configuration.nix index 6aa4ffb..d6a24dd 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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; diff --git a/zfs.nix b/zfs.nix index 23b9926..70e4fde 100644 --- a/zfs.nix +++ b/zfs.nix @@ -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 = {