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

31 lines
519 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
fade-in=0.3
indicator
screenshots
font=JetBrainsMono
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
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
'';
}