build(nasp): enable zfs if networking.hostId is set
This commit is contained in:
@@ -133,6 +133,11 @@ in
|
||||
xkb.layout = "us";
|
||||
};
|
||||
}
|
||||
(lib.mkIf (networking.hostId != null) {
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
services.zfs.autoScrub.enable = true;
|
||||
})
|
||||
# nvidia
|
||||
(lib.mkIf (nvidiaCfg.enable) {
|
||||
nixpkgs.config.nvidia.acceptLicense = true;
|
||||
|
||||
Reference in New Issue
Block a user