From 6b49e405968fd104ec30ba5848723b0d7d1363de Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Fri, 14 Jun 2024 16:46:33 +0800 Subject: [PATCH] fix(nasp): zfs --- hosts/modules/nasp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/modules/nasp.nix b/hosts/modules/nasp.nix index 7419bda..304e847 100644 --- a/hosts/modules/nasp.nix +++ b/hosts/modules/nasp.nix @@ -133,7 +133,7 @@ in xkb.layout = "us"; }; } - (lib.mkIf (networking.hostId != null) { + (lib.mkIf (config.networking.hostId != null) { boot.supportedFilesystems = [ "zfs" ]; boot.zfs.forceImportRoot = false; services.zfs.autoScrub.enable = true;