nix-config/tests/hyprland.nix
2024-04-04 17:31:01 -04:00

17 lines
357 B
Nix

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