mirror of
https://github.com/nix-community/home-manager
synced 2024-12-29 13:19:47 +01:00
19 lines
425 B
Nix
19 lines
425 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" ];
|
||
|
};
|
||
|
}
|