summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-04 22:34:05 +0200
committerSilas Schöffel <sils@sils.li>2024-04-04 22:34:05 +0200
commited259b875d35c71f8b712786625c31d53130ca1d (patch)
tree5e656d50d2ed25354fd59bebe9f64be1e4705aac
parentzsh: update sys-update flake location to new path (diff)
downloadnix-config-ed259b875d35c71f8b712786625c31d53130ca1d.tar.gz
nix-config-ed259b875d35c71f8b712786625c31d53130ca1d.zip
swaylock: correct path to wallpaper
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch main
# Your branch is up to date with 'origin/main'.
#
# Changes to be committed:
#	modified:   hm/swaylock/default.nix
#
# Untracked files:
#	modules/nixos/sils/wallpaper.jpg
#
-rw-r--r--hm/swaylock/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hm/swaylock/default.nix b/hm/swaylock/default.nix
index d63cd56..38fab7c 100644
--- a/hm/swaylock/default.nix
+++ b/hm/swaylock/default.nix
@@ -1,8 +1,8 @@
-{...}: {
+{self, ...}: {
   programs.swaylock = {
     enable = true;
     settings = {
-      image = "${../../../files/wallpaper.jpg}";
+      image = "${self}/files/wallpaper.jpg";
     };
   };
 }