about summary refs log tree commit diff
path: root/nixos
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
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')
-rw-r--r--nixos/alpha/configuration.nix2
-rw-r--r--nixos/haruka/configuration.nix2
2 files changed, 2 insertions, 2 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
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index 50d91a2..a36d8b3 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -31,7 +31,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