43 lines
836 B
Nix
43 lines
836 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
name = "nixos-test-dynamicism-main";
|
|
|
|
defaults = { ... }: { };
|
|
|
|
#node.pkgsReadOnly = false;
|
|
|
|
extraPythonPackages = p: [
|
|
p.beartype
|
|
];
|
|
|
|
nodes.machine = { pkgs, config, ... }: {
|
|
imports = [ ./configuration.nix ];
|
|
|
|
system.includeBuildDependencies = true;
|
|
system.switch.enable = true;
|
|
|
|
virtualisation.additionalPaths = [ config.system.build.toplevel ];
|
|
virtualisation = {
|
|
memorySize = 4096;
|
|
cores = 4;
|
|
writableStore = true;
|
|
mountHostNixStore = true;
|
|
installBootLoader = true;
|
|
};
|
|
|
|
environment.systemPackages = let
|
|
configFileTree = pkgs.callPackage ./configuration-package.nix { };
|
|
in [
|
|
configFileTree
|
|
];
|
|
};
|
|
|
|
# What's a little IFD between friends?
|
|
testScript = ./test-script.py
|
|
|> builtins.readFile;
|
|
}
|