1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/services/kanshi/alias-assertion.nix
2025-05-07 10:03:21 -05:00

24 lines
481 B
Nix

{ config, ... }:
{
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"
];
};
}