diff options
author | Soispha <soispha@vhack.eu> | 2024-01-13 11:38:29 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-13 11:38:29 +0100 |
commit | 12e3c1ad669c7b06bca3ce698798592f3f2567b6 (patch) | |
tree | a590ea17f9843e2b3163392fc05b5d30c028eeca /hm/soispha/files | |
parent | build(treewide): Update flake and shell library (diff) | |
download | nixos-config-12e3c1ad669c7b06bca3ce698798592f3f2567b6.zip |
fix(hm): Move the session variables to their associated service
Diffstat (limited to '')
-rw-r--r-- | hm/soispha/files/wallpaper/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/hm/soispha/files/wallpaper/default.nix b/hm/soispha/files/wallpaper/default.nix index 2c9b3368..119df225 100644 --- a/hm/soispha/files/wallpaper/default.nix +++ b/hm/soispha/files/wallpaper/default.nix @@ -1,8 +1,14 @@ {config, ...}: { - home.file = { - wallpaper = { - source = ./abstract-nord.png; - target = "media/pictures/wallpaper"; + home = { + sessionVariables = { + WALLPAPER = "${config.home.homeDirectory}/media/pictures/wallpaper"; + }; + + file = { + wallpaper = { + source = ./abstract-nord.png; + target = "media/pictures/wallpaper"; + }; }; }; } |