diff --git a/modules/home/stylix.nix b/modules/home/stylix.nix index 7ffd492..63dcffd 100644 --- a/modules/home/stylix.nix +++ b/modules/home/stylix.nix @@ -6,8 +6,9 @@ let activeThemeName = config.nomarchy.theme; activeWallpaper = if config.nomarchy.wallpaper != "" then + # Use the absolute path from the state file (string format to avoid Nix Store copy) config.nomarchy.wallpaper - else "${../../assets/themes/catppuccin/backgrounds/1-totoro.png}"; # Fallback + else ../../assets/themes/catppuccin/backgrounds/1-totoro.png; # Fallback path object (copied to store) # Map nix-colors palette to a format Stylix expects (attrset of hex strings) currentPalette = (palettes.${activeThemeName} or palettes.nord).palette;