🔧 (home/wayland) make swaylock use flake wallpaper
This commit is contained in:
parent
db9d569a1f
commit
fb3b2b4299
|
@ -1,10 +1,14 @@
|
||||||
{pkgs, ...}: {
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.swaylock-effects;
|
package = pkgs.swaylock-effects;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
image = "/home/laurent/Pictures/wallpapers/kai-oberhauser-unsplash.jpg";
|
image = "${inputs.wallpaper}";
|
||||||
|
|
||||||
clock = true;
|
clock = true;
|
||||||
timestr = "%T";
|
timestr = "%T";
|
||||||
|
|
Loading…
Reference in a new issue