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";
# # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion