fix(krz01/eval): specified stateVersion

This commit is contained in:
catvayor 2025-04-13 14:51:56 +02:00 committed by Tom Hubrecht
parent 95c0f9a3a1
commit f642e2e106
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
4 changed files with 6 additions and 2 deletions

View file

@ -7,6 +7,7 @@ _: {
microvm.vms.ml01 = {
config = {
networking.hostName = "ml01";
system.stateVersion = "24.11";
microvm = {
hypervisor = "cloud-hypervisor";
vcpu = 4;

View file

@ -7,6 +7,7 @@ _: {
microvm.vms.router01 = {
config = {
networking.hostName = "router01";
system.stateVersion = "24.11";
microvm.shares = [
{
source = "/nix/store";

View file

@ -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 ];
};