nix-config/desktop/swaylock/default.nix

24 lines
481 B
Nix
Raw Normal View History

2023-05-16 23:24:07 +02:00
{ pkgs, ... }:
{
security.pam.services.swaylock = { };
home-manager.sharedModules = [{
programs.swaylock = {
package = pkgs."swaylock-effects";
settings = {
show-keyboard-layout = true;
daemonize = true;
effect-blur = "5x2";
clock = true;
indicator = true;
font-size = 25;
indicator-radius = 85;
indicator-thickness = 16;
screenshots = true;
fade-in = 1;
};
};
}];
}