20 lines
556 B
Nix
20 lines
556 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";
|
||
|
fade-in = 0.2;
|
||
|
};
|
||
|
};
|
||
|
}
|