nixos/home/desktop/swaylock.nix

22 lines
564 B
Nix

{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 = "1e1e2e"; # Catppuccin base
key-hl-color = "b4befe"; # Catppuccin lavender
line-color = "1e1e2e"; # Catppuccin base
separator-color = "585b70"; # Catppuccin surface2
grace = 2;
fade-in = 0.2;
};
};
}