nix-config/tests/hyprland.nix
Donovan Glover 41ce56718b
chore: Simplify tests
Removes the redundant `self`.
2024-04-05 11:53:40 -04:00

19 lines
413 B
Nix

# TODO: Write test to ensure that Hyprland starts with basic config
let
inherit (builtins) attrValues;
in
(import ./lib.nix) {
name = "hyprland";
nodes.machine = { nix-config, ... }: {
imports = attrValues {
inherit (nix-config.nixosModules) system desktop;
};
};
testScript = /* python */ ''
output = machine.succeed("echo 'Hello world'")
assert "Hello world" in output
'';
}