build(nasp): enable zfs if networking.hostId is set
This commit is contained in:
parent
7d21133d72
commit
47d8b9fa41
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "c953033f";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "50480d34";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "39c15810";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "32137a88";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "b500d22c";
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "6693ee3d";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "b24b8b5f";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "94f672bf";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
eth2Name = "enp2s0np0";
|
||||
};
|
||||
};
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
networking.hostId = "b2fd3ffb";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user