flake/home/applications/swaylock/default.nix

13 lines
314 B
Nix

{ inputs, pkgs, ... }:
{
programs.swaylock = {
enable = true;
settings = {
daemonize = true;
show-failed-attempts = true;
show-keyboard-layout = true;
image = toString inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background;
scaling = "fill";
};
};
}