1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 03:51:07 +01:00
home-manager/tests/modules/services/mako/example-config.nix
Austin Horstman 5f1f472565
mako: use ini atom type (#6977)
Fix backwards compatibility
2025-05-04 21:44:38 -05:00

41 lines
808 B
Nix

{
services.mako = {
enable = true;
settings = {
actions = true;
anchor = "top-right";
backgroundColor = "#000000";
borderColor = "#FFFFFF";
borderRadius = 0;
defaultTimeout = 0;
font = "monospace 10";
height = 100;
width = 300;
icons = true;
ignoreTimeout = false;
layer = "top";
margin = 10;
markup = true;
};
criteria = {
"actionable=true" = {
anchor = "top-left";
};
"app-name=Google\\ Chrome" = {
max-visible = 5;
};
"field1=value field2=value" = {
text-alignment = "left";
};
};
};
nmt.script = ''
assertFileExists home-files/.config/mako/config
assertFileContent home-files/.config/mako/config \
${./config}
'';
}