1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 10:49:44 +01:00
home-manager/tests/modules/programs/swaylock/settings.nix

20 lines
452 B
Nix
Raw Normal View History

{
programs.swaylock = {
enable = true;
settings = {
color = "808080";
font-size = 24;
indicator-idle-visible = false; # Test that this does nothing
indicator-radius = 100;
line-color = "ffffff";
show-failed-attempts = true;
};
2022-06-07 21:01:14 +02:00
};
nmt.script = let homeConfig = "home-files/.config/swaylock/config";
in ''
assertFileExists ${homeConfig}
assertFileContent ${homeConfig} ${./config}
'';
}