summaryrefslogtreecommitdiff
path: root/hosts/toaster/zfs.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2025-01-02 17:31:27 +0100
committerGrisha Shipunov2025-01-02 17:31:27 +0100
commit3de1ca400cc6f2de7ec6b8ecbbf44be130649ef6 (patch)
tree180c9f366be91d322147e3b3f3028af3dc1dfd84 /hosts/toaster/zfs.nix
parentc1e09364bb412f1e09d1a680e5200d375a61694f (diff)
fix zfs config
Diffstat (limited to 'hosts/toaster/zfs.nix')
-rw-r--r--hosts/toaster/zfs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/toaster/zfs.nix b/hosts/toaster/zfs.nix
index b14d910..9a8b5aa 100644
--- a/hosts/toaster/zfs.nix
+++ b/hosts/toaster/zfs.nix
@@ -5,12 +5,12 @@
trim.enable = true;
autoScrub = {
enable = true;
- pools = [ "toasterpool" ];
+ pools = [ "zpool" ];
};
};
networking.hostId = "dca22577";
boot = {
- kernelPackages = let
+ kernelPackages = let
zfsCompatibleKernelPackages = lib.filterAttrs (
name: kernelPackages:
(builtins.match "linux_[0-9]+_[0-9]+" name) != null