From 309ca42fe7c69f270eb886e82e34bfd8383ae06f Mon Sep 17 00:00:00 2001 From: Cassie Cheung Date: Mon, 9 Dec 2024 16:41:23 +0800 Subject: [PATCH] fix: disable zfs --- nix/common.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/common.nix b/nix/common.nix index f539b92..842f51c 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -1,4 +1,4 @@ -{ pkgs, modulesPath, nixos-hardware, ... }: +{ pkgs, modulesPath, nixos-hardware, lib, ... }: { imports = [ @@ -24,6 +24,6 @@ (pkgs.callPackage ./pkgs/firmware-script.nix {}) ]; - # ZFS is (sometimes) broken and prevents building without this - nixpkgs.config.allowBroken = true; + # this branch disables zfs. + boot.supportedFilesystems.zfs = lib.mkForce false; }