From 7a6ad3e6668989db5ceba31f08528dfce821cca6 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 10 Mar 2024 19:22:54 +0900 Subject: chore: set boot.zfs.package to use unstable zfs boot.zfs.enableUnstable is deprecated. --- nixos/alpha/configuration.nix | 2 +- nixos/haruka/configuration.nix | 2 +- 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 -- cgit 1.4.1