23 lines
566 B
Nix
23 lines
566 B
Nix
{ lib, pkgs, ... }:
|
|
|
|
let
|
|
wallpaper = pkgs.fetchurl {
|
|
url = "https://raw.githubusercontent.com/NixOS/nixos-artwork/8957e93c95867faafec7f9988cedddd6837859fa/wallpapers/nix-wallpaper-binary-black.png";
|
|
sha256 = "0v3111a1ihsh4ajijbjh6y7a8p5cb5g3rdxqjbzx37pn1k9s254s";
|
|
};
|
|
in
|
|
{
|
|
programs.swaylock = {
|
|
enable = true;
|
|
settings = {
|
|
image = "${wallpaper}";
|
|
color = "000000";
|
|
font-size = 24;
|
|
indicator-idle-visible = false;
|
|
indicator-radius = 100;
|
|
line-color = "ffffff";
|
|
show-failed-attempts = true;
|
|
};
|
|
};
|
|
}
|