fix(zfs): import pool

This commit is contained in:
2025-09-13 21:36:55 +02:00
parent 48a1310d97
commit 7167ddc06d
2 changed files with 10 additions and 1 deletions

View File

@@ -68,6 +68,16 @@ in
} }
]; ];
boot = {
supportedFilesystems = [ "zfs" ];
zfs.extraPools = [ "data" ];
};
services.zfs = {
autoSnapshot.enable = true;
autoScrub.enable = true;
};
environment.variables.NH_FLAKE = "/home/cnst/.nix-config"; environment.variables.NH_FLAKE = "/home/cnst/.nix-config";
# # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion # # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion

View File

@@ -22,7 +22,6 @@
"sd_mod" "sd_mod"
]; ];
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.supportedFilesystems = [ "zfs" ];
boot.kernelModules = [ ]; boot.kernelModules = [ ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];