mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-24 23:58:49 +01:00
19 lines
419 B
Nix
19 lines
419 B
Nix
# TODO: Write test to ensure that Hyprland starts with basic config
|
|
let
|
|
inherit (builtins) attrValues;
|
|
in
|
|
(import ../lib/test.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
|
|
'';
|
|
}
|