nixos/home/desktop/wayland/swaylock.nix

23 lines
488 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
settings = {
screenshots = true;
clock = true;
indicator = true;
indicator-radius = 100;
indicator-thickness = 7;
effect-blur = "7x5";
effect-vignette = "0.5:0.5";
ring-color = "bb00cc";
key-hl-color = "00000000";
line-color = "00000088";
separator-color = "00000000";
grace = 2;
fade-in = 0.2;
};
};
}