2.home-manager/tests/modules/services/kanshi/alias-assertion.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

24 lines
487 B
Nix

{ config, pkgs, ... }:
{
config = {
services.kanshi = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = [
{
profile.name = "nomad";
profile.outputs = [
{
criteria = "eDP-1";
alias = "test";
}
];
}
];
};
test.asserts.assertions.expected = [
"Output kanshi.*.output.alias can only be defined on global scope"
];
};
}