mirror of
https://github.com/nix-community/home-manager
synced 2024-11-24 12:09:46 +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" ];
|
||
|
};
|
||
|
}
|