From 51954e7f36807096cdf877f155b9305a29cad696 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Thu, 15 Jun 2023 20:09:00 +0200 Subject: [PATCH] swaylock background --- nixos-configurations/shared.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos-configurations/shared.nix b/nixos-configurations/shared.nix index 8180915..4a3762f 100644 --- a/nixos-configurations/shared.nix +++ b/nixos-configurations/shared.nix @@ -145,7 +145,14 @@ } ''; }; - swaylock.enable = true; + swaylock = { + enable = true; + settings = let + wallpaper = pkgs.callPackage ./wallpaper.nix {}; + in { + image = "${wallpaper}"; + }; + }; bash = { enable = true; shellAliases = {