mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-02 21:23:22 +01:00
3119b789f8
Alejandra is written in Rust, has more tests than nixfmt, and handles non-trivial code examples in Nix better.
24 lines
518 B
Nix
24 lines
518 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;
|
|
};
|
|
};
|
|
}
|
|
];
|
|
}
|