about summary refs log tree commit diff
path: root/nixos/alpha/configuration.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-03-10 19:22:54 +0900
committersefidel <contact@sefidel.net>2024-03-10 19:26:50 +0900
commit7a6ad3e6668989db5ceba31f08528dfce821cca6 (patch)
tree596f7b39cfc5bf2d124194428f9e52ed594c5815 /nixos/alpha/configuration.nix
parentf8e4d0cda9b3dbabd3dc3861c0e77a1abbf8be93 (diff)
downloadnixrc-7a6ad3e6668989db5ceba31f08528dfce821cca6.tar.gz
nixrc-7a6ad3e6668989db5ceba31f08528dfce821cca6.zip
chore: set boot.zfs.package to use unstable zfs
boot.zfs.enableUnstable is deprecated.
Diffstat (limited to 'nixos/alpha/configuration.nix')
-rw-r--r--nixos/alpha/configuration.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 555eb96..bc2aa6e 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -28,7 +28,7 @@
 
   boot.initrd.supportedFilesystems = [ "zfs" ];
   boot.supportedFilesystems = [ "zfs" ];
-  boot.zfs.enableUnstable = true;
+  boot.zfs.package = pkgs.zfs_unstable;
   boot.zfs.forceImportRoot = false;
   boot.zfs.forceImportAll = false;
   boot.zfs.allowHibernation = true; # NOTE: disable if using swap on ZFS