mirror of
https://github.com/nix-community/home-manager
synced 2024-11-09 20:59:44 +01:00
2df3d5d39c
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
19 lines
452 B
Nix
19 lines
452 B
Nix
{
|
|
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;
|
|
};
|
|
};
|
|
|
|
nmt.script = let homeConfig = "home-files/.config/swaylock/config";
|
|
in ''
|
|
assertFileExists ${homeConfig}
|
|
assertFileContent ${homeConfig} ${./config}
|
|
'';
|
|
}
|