fix(krz01/eval): specified stateVersion
This commit is contained in:
parent
95c0f9a3a1
commit
f642e2e106
4 changed files with 6 additions and 2 deletions
|
@ -7,6 +7,7 @@ _: {
|
|||
microvm.vms.ml01 = {
|
||||
config = {
|
||||
networking.hostName = "ml01";
|
||||
system.stateVersion = "24.11";
|
||||
microvm = {
|
||||
hypervisor = "cloud-hypervisor";
|
||||
vcpu = 4;
|
||||
|
|
|
@ -7,6 +7,7 @@ _: {
|
|||
microvm.vms.router01 = {
|
||||
config = {
|
||||
networking.hostName = "router01";
|
||||
system.stateVersion = "24.11";
|
||||
microvm.shares = [
|
||||
{
|
||||
source = "/nix/store";
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
pkgs,
|
||||
meta,
|
||||
name,
|
||||
nixpkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -14,7 +15,8 @@
|
|||
enable = true;
|
||||
host = meta.network.${name}.netbirdIp;
|
||||
package = pkgs.callPackage ./package.nix {
|
||||
cudaPackages = pkgs.cudaPackages_11;
|
||||
# HACK: Our GPU is not supported by cuda >= 12.0, and nixos-25.05 dropped cuda < 12.0
|
||||
cudaPackages = nixpkgs.nixos."24.11".cudaPackages_11;
|
||||
# We need to thread our nvidia x11 driver for CUDA.
|
||||
extraLibraries = [ config.hardware.nvidia.package ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue