1
0
forked from extern/nix-config
donovanglover-nix-config/desktop/swaylock/default.nix
2023-05-18 15:54:15 -04:00

24 lines
481 B
Nix

{ 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;
};
};
}];
}