2026-02-10 14:59:44 +01:00
|
|
|
{ ... }:
|
2026-02-09 14:32:56 +01:00
|
|
|
|
2026-02-06 17:12:02 +01:00
|
|
|
{
|
2026-02-10 14:59:44 +01:00
|
|
|
name = "nixos-test-dynamicism-gotosocial";
|
2026-02-06 17:12:02 +01:00
|
|
|
|
|
|
|
|
defaults = { ... }: { };
|
|
|
|
|
|
|
|
|
|
extraPythonPackages = p: [
|
|
|
|
|
p.beartype
|
|
|
|
|
];
|
|
|
|
|
|
2026-02-10 14:59:44 +01:00
|
|
|
nodes.machine = { pkgs, ... }: {
|
2026-02-09 14:32:56 +01:00
|
|
|
# NOTE: Anything in this `nodes.machine = ` module will not be included
|
|
|
|
|
# in the VM's NixOS configuration once it does `nixos-rebuild switch`,
|
|
|
|
|
# except for `./configuration.nix` which will be copied to `/etc/nixos/`.
|
|
|
|
|
# dynix will also be statefully installed to root's user profile.
|
2026-02-10 14:59:44 +01:00
|
|
|
imports = [ ./configuration.nix ];
|
2026-02-06 17:12:02 +01:00
|
|
|
|
|
|
|
|
environment.systemPackages = let
|
|
|
|
|
configFileTree = pkgs.callPackage ./configuration-package.nix { };
|
|
|
|
|
in [
|
|
|
|
|
configFileTree
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
2026-02-10 14:59:44 +01:00
|
|
|
testScript = builtins.readFile ./test-script.py;
|
2026-02-06 17:12:02 +01:00
|
|
|
}
|