1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-10 02:51:05 +01:00
home-manager/tests/modules/programs/yambar/example-settings.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

29 lines
611 B
Nix

{
programs.yambar = {
enable = true;
settings = {
bar = {
location = "top";
height = 26;
background = "00000066";
right = [ { clock.content = [ { string.text = "{time}"; } ]; } ];
};
};
};
nmt.script = ''
assertFileContent \
home-files/.config/yambar/config.yml \
${builtins.toFile "yambar-expected.yml" ''
bar:
background: '00000066'
height: 26
location: top
right:
- clock:
content:
- string:
text: '{time}'
''}
'';
}