1
0
forked from extern/nix-config
donovanglover-nix-config/modules/swaylock/default.nix
Donovan Glover 43a07cc8d9
treewide: Switch from alejandra to nixpkgs-fmt
Neither nixfmt nor alejandra support the "standard" way to syntax
highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable
solution.
2023-06-11 09:37:27 -04:00

24 lines
521 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 = "20x2";
clock = true;
indicator = true;
font-size = 25;
indicator-radius = 85;
indicator-thickness = 16;
screenshots = true;
fade-in = 1;
};
};
}
];
}