diff --git a/hosts/common/configs/user/gui/theme/options.nix b/hosts/common/configs/user/gui/theme/options.nix index 5fd277d..16bf7a9 100644 --- a/hosts/common/configs/user/gui/theme/options.nix +++ b/hosts/common/configs/user/gui/theme/options.nix @@ -8,9 +8,7 @@ let cfg = config.theme; - wallpaper = pkgs.runCommandLocal "wallpaper" { } '' - ln -s ${cfg.wallpaper} $out - ''; + wallpaper = pkgs.copyPathToStore cfg.wallpaper; init = pkgs.writeShellApplication { name = "theme-init";