flake/home/applications/swaylock/default.nix

17 lines
325 B
Nix
Raw Normal View History

2024-07-21 06:49:16 +00:00
{
inputs,
pkgs,
...
}: {
programs.swaylock = {
enable = true;
settings = {
daemonize = true;
2024-07-21 06:49:16 +00:00
show-failed-attempts = true;
show-keyboard-layout = true;
image = toString inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background.dark;
scaling = "fill";
};
};
}