2024-04-02 11:15:15 +02:00
|
|
|
# TODO: Write test to ensure that Hyprland starts with basic config
|
2024-04-05 15:02:00 +02:00
|
|
|
let
|
|
|
|
inherit (builtins) attrValues;
|
2024-04-05 17:26:22 +02:00
|
|
|
in
|
2024-04-09 14:02:16 +02:00
|
|
|
(import ../lib/test.nix) {
|
2024-04-02 11:15:15 +02:00
|
|
|
name = "hyprland";
|
|
|
|
|
2024-04-05 17:50:28 +02:00
|
|
|
nodes.machine = { nix-config, ... }: {
|
2024-04-05 15:02:00 +02:00
|
|
|
imports = attrValues {
|
2024-04-05 17:50:28 +02:00
|
|
|
inherit (nix-config.nixosModules) system desktop;
|
2024-04-05 15:02:00 +02:00
|
|
|
};
|
2024-04-02 11:15:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
testScript = /* python */ ''
|
|
|
|
output = machine.succeed("echo 'Hello world'")
|
|
|
|
assert "Hello world" in output
|
|
|
|
'';
|
|
|
|
}
|