move stuff not needed in test out

This commit is contained in:
Kiara Grouwstra 2025-08-24 18:18:26 +02:00
parent fb29c3d07e
commit b5d42bb64c
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU
2 changed files with 34 additions and 3 deletions

View file

@ -3,7 +3,6 @@
config, config,
lib, lib,
modulesPath, modulesPath,
sources,
... ...
}: }:
@ -18,8 +17,6 @@ in
imports = [ imports = [
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/../lib/testing/nixos-test-base.nix") (modulesPath + "/../lib/testing/nixos-test-base.nix")
"${sources.disko}/module.nix"
../../../infra/common/proxmox-qemu-vm.nix
./sharedOptions.nix ./sharedOptions.nix
../../../infra/common/nixos/users.nix ../../../infra/common/nixos/users.nix
]; ];

34
paste
View file

@ -10,7 +10,41 @@ command=(nix-instantiate --expr '
configuration = { configuration = {
imports = [ imports = [
./deployment/check/common/targetNode.nix ./deployment/check/common/targetNode.nix
"${sources.nixpkgs}/nixos/modules/profiles/qemu-guest.nix"
"${sources.disko}/module.nix"
]; ];
disabledModules = [ "virtualisation/qemu-vm.nix" ];
config = {
nix.nixPath = lib.mapAttrsToList (k: v: k + "=" + v) sources;
networking = {
nameservers = [
"95.215.185.6"
"95.215.185.7"
"2a00:51c0::5fd7:b906"
"2a00:51c0::5fd7:b907"
];
interfaces.eth0.ipv4.addresses = [
{
address = "95.215.187.203";
prefixLength = 24;
}
];
interfaces.eth0.ipv6.addresses = [
{
address = "2a00:51c0:13:1305::203";
prefixLength = 64;
}
];
defaultGateway = {
address = "95.215.187.1";
interface = "eth0";
};
defaultGateway6 = {
address = "2a00:51c0:13:1305::1";
interface = "eth0";
};
};
};
}; };
eval = import "${sources.nixpkgs}/nixos/lib/eval-config.nix" { eval = import "${sources.nixpkgs}/nixos/lib/eval-config.nix" {
system = builtins.currentSystem; system = builtins.currentSystem;