2024-09-20 17:38:01 +00:00
|
|
|
{ inputs, pkgs, ... }:
|
2024-08-25 15:02:35 +00:00
|
|
|
{
|
2023-11-05 13:35:28 +00:00
|
|
|
programs.swaylock = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
2023-12-07 06:26:40 +00:00
|
|
|
daemonize = true;
|
2024-07-21 06:49:16 +00:00
|
|
|
show-failed-attempts = true;
|
|
|
|
show-keyboard-layout = true;
|
2024-08-15 14:12:14 +00:00
|
|
|
image = toString inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}.background;
|
2024-07-21 06:49:16 +00:00
|
|
|
scaling = "fill";
|
2023-11-05 13:35:28 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|