2023-08-08 10:19:01 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
};
|
2023-01-10 09:35:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = let homeConfig = "home-files/.config/swaylock/config";
|
|
|
|
in ''
|
|
|
|
assertFileExists ${homeConfig}
|
|
|
|
assertFileContent ${homeConfig} ${./config}
|
|
|
|
'';
|
|
|
|
}
|