From c6f61c06fe65e6acfacf7d188924f5c7e9223903 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Sun, 11 Jan 2026 11:06:43 +0000 Subject: [PATCH] Update fred.nix --- home-manager/fred.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/home-manager/fred.nix b/home-manager/fred.nix index 801c274..978d769 100644 --- a/home-manager/fred.nix +++ b/home-manager/fred.nix @@ -9,12 +9,14 @@ # ]; - # Download wallpaper from GitHub repo + # Download wallpaper from GitHub repo and symlink it home.file.".local/share/backgrounds/wallpaper.png".source = - "${builtins.fetchGit { - url = "https://github.com/ediblerope/nixos-config"; - ref = "main"; - }}/walls/wallpaper.png"; + let + wallpaperRepo = builtins.fetchGit { + url = "https://github.com/ediblerope/nixos-config"; + ref = "main"; + }; + in "${wallpaperRepo}/walls/wallpaper.png"; # GNOME dconf dconf.settings = {