summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-04-06 09:10:05 +0200
committerRory& <root@rory.gay>2026-04-06 14:28:55 +0200
commit781146a9f0b1718e0b32b742cd39c86dfe3b15e3 (patch)
treec63488b631c53e3ebdaff683f95f33b9a29dd3b0
parentFix indentation slightly in cs outputs.nix (diff)
downloadserver-ts-781146a9f0b1718e0b32b742cd39c86dfe3b15e3.tar.xz
Fix tests, maybe fix VM config
-rw-r--r--nix/testVm/vm.nix11
-rw-r--r--nix/tests/test-bundle-starts.nix2
2 files changed, 11 insertions, 2 deletions
diff --git a/nix/testVm/vm.nix b/nix/testVm/vm.nix

index 0c61aa83..1b07ec58 100644 --- a/nix/testVm/vm.nix +++ b/nix/testVm/vm.nix
@@ -6,7 +6,7 @@ }: { imports = [ -# (modulesPath + "/virtualisation/qemu-vm.nix") + (modulesPath + "/virtualisation/qemu-vm.nix") ]; virtualisation.vmVariant = { @@ -59,4 +59,13 @@ font = "${pkgs.cozette}/share/consolefonts/cozette6x13.psfu"; packages = with pkgs; [ cozette ]; }; + + system = { + disableInstallerTools = true; + copySystemConfiguration = false; + includeBuildDependencies = false; + tools.nixos-version.enable = true; # Useful... + switch.enable = false; + etc.overlay.enable = true; + }; } diff --git a/nix/tests/test-bundle-starts.nix b/nix/tests/test-bundle-starts.nix
index 16134f91..b43f68fd 100644 --- a/nix/tests/test-bundle-starts.nix +++ b/nix/tests/test-bundle-starts.nix
@@ -7,7 +7,7 @@ self: }: let - sb = import ../modules/default/lib.nix; + sb = import ../lib/mkEndpoint.nix; in { name = "test-bundle-starts";