From fb3b2b4299627108309246775fdb8f52f3756ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 31 Mar 2024 16:20:17 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(home/wayland)=20make=20swaylock?= =?UTF-8?q?=20use=20flake=20wallpaper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/wayland/swaylock/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/wayland/swaylock/default.nix b/home/wayland/swaylock/default.nix index cfac6d4..3824400 100644 --- a/home/wayland/swaylock/default.nix +++ b/home/wayland/swaylock/default.nix @@ -1,10 +1,14 @@ -{pkgs, ...}: { +{ + inputs, + pkgs, + ... +}: { programs.swaylock = { enable = true; package = pkgs.swaylock-effects; settings = { - image = "/home/laurent/Pictures/wallpapers/kai-oberhauser-unsplash.jpg"; + image = "${inputs.wallpaper}"; clock = true; timestr = "%T";