mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-03 05:33:13 +01:00
43a07cc8d9
Neither nixfmt nor alejandra support the "standard" way to syntax highlight multi-line strings in Nix, so nixpkgs-fmt is the only viable solution.
24 lines
521 B
Nix
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;
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|