nix-config/tests/hyprland.nix

17 lines
357 B
Nix
Raw Normal View History

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