dynix/tests/gotosocial/test.nix
2026-02-11 13:16:34 +01:00

27 lines
716 B
Nix

{ ... }:
{
name = "nixos-test-dynamicism-gotosocial";
defaults = { ... }: { };
extraPythonPackages = p: [
p.beartype
];
nodes.machine = { pkgs, ... }: {
# 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.
imports = [ ./configuration.nix ];
environment.systemPackages = let
configFileTree = pkgs.callPackage ./configuration-package.nix { };
in [
configFileTree
];
};
testScript = builtins.readFile ./test-script.py;
}