fix(nasp): zfs

This commit is contained in:
Dict Xiong 2024-06-14 16:46:33 +08:00
parent c4a5842ba3
commit 6b49e40596

View File

@ -133,7 +133,7 @@ in
xkb.layout = "us"; xkb.layout = "us";
}; };
} }
(lib.mkIf (networking.hostId != null) { (lib.mkIf (config.networking.hostId != null) {
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false; boot.zfs.forceImportRoot = false;
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;