nixos-config/home-manager/wayland/swaylock.nix

36 lines
541 B
Nix
Raw Normal View History

2022-01-06 21:14:02 -05:00
{ pkgs, ... }:
{
home.packages = [ pkgs.swaylock-effects ];
xdg.configFile."swaylock/config".text =
''
ignore-empty-password
grace-no-mouse
fade-in=0.3
indicator
screenshots
2022-09-23 23:33:11 -04:00
font=UbuntuMono
2022-09-24 23:30:38 -04:00
text-color=ffffff
2022-01-06 21:14:02 -05:00
color=00000000
2022-09-23 23:33:11 -04:00
ring-color=7da6ff
key-hl-color=7bc5e4
2022-01-06 21:14:02 -05:00
line-uses-inside
indicator-radius=120
indicator-thickness=7
clock
2022-10-08 21:31:02 -04:00
datestr=%A, %Y-%m-%d
2022-01-06 21:14:02 -05:00
effect-scale=0.4
effect-vignette=0.3:0.7
effect-blur=2x2
'';
}