23 lines
563 B
Nix
23 lines
563 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.swaylock = {
|
|
enable = true;
|
|
package = pkgs.swaylock-effects;
|
|
# Settings are specifically for swaylock-effects
|
|
settings = {
|
|
indicator-radius = 100;
|
|
indicator-thickness = 10;
|
|
indicator-caps-lock = true;
|
|
ignore-empty-password = true;
|
|
show-failed-attempts = true;
|
|
effect-blur = with config.wayland.windowManager.hyprland.settings.decoration.blur; "${toString size}x${toString passes}";
|
|
effect-vignette = "0.5:0.5";
|
|
grace = 2;
|
|
fade-in = 0.2;
|
|
};
|
|
};
|
|
}
|