blob: 30ec1ca21584429a60c72f2b3e8f3f64e8be5ea6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ config, pkgs, ... }: let
background = "${config.xdg.dataHome}/wayland/lockscreen";
in {
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects.overrideAttrs {
depsBuildBuild = [ pkgs.pkg-config ];
};
settings = {
clock = true;
daemonize = true;
color = "404040";
timestr = "%H:%M";
datestr = "%a,%e %b";
image = background;
indicator-idle-visible = true;
};
};
}
|