1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 15:19:45 +01:00
home-manager/tests/modules/services/window-managers/sway/swaynag-example-settings.nix

31 lines
577 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
config = {
wayland.windowManager.sway.swaynag = {
enable = true;
settings = {
"<config>" = {
edge = "bottom";
font = "Dina 12";
};
green = {
edge = "top";
background = "00AA00";
text = "FFFFFF";
button-background = "00CC00";
message-padding = 10;
};
};
};
nmt.script = ''
assertFileContent \
home-files/.config/swaynag/config \
${./swaynag-example-settings-expected.conf}
'';
};
}