nix-config/tests/hyprland.nix
Donovan Glover 22e31ff60b
chore: Format with nixpkgs-fmt
Note that we will continue to use nixpkgs-fmt for the time being here
since nixfmt-rfc-style breaks string syntax highlighting and comments
like `/* this */` get turned into `# this`.

The conversion from lisp-like formatting to something else in flake.nix
is a bit unfortunate, but I'd rather have a singular style for the
entire code base to make things easier.
2024-04-05 11:40:23 -04:00

19 lines
407 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 = { self, pkgs, ... }: {
imports = attrValues {
inherit (self.nixosModules) system desktop;
};
};
testScript = /* python */ ''
output = machine.succeed("echo 'Hello world'")
assert "Hello world" in output
'';
}