mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
22e31ff60b
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.
19 lines
407 B
Nix
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
|
|
'';
|
|
}
|