My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: the wallpaper should now apply correctly

+12 -13
+5 -5
docs/wallpapers.md
··· 8 8 9 9 ## Usage 10 10 11 - The wallpaper is referenced directly in `home/programs/gnome.nix`: 11 + The wallpaper is referenced directly in `settings/plasma/default.nix`: 12 12 13 13 ```nix 14 - "org/gnome/desktop/background" = { 15 - picture-uri = "file://${../../wallpapers/wallpaper.jpg}"; 16 - picture-uri-dark = "file://${../../wallpapers/wallpaper.jpg}"; 14 + workspace = { 15 + wallpaper = ../../wallpapers/wallpaper.jpg; 16 + # ... other settings 17 17 }; 18 18 ``` 19 19 ··· 22 22 ## Changing the Wallpaper 23 23 24 24 1. Replace `wallpapers/wallpaper.jpg` with your image (keep the same filename), or 25 - 2. Add a new image and update the path in `home/programs/gnome.nix` 25 + 2. Add a new image and update the path in `settings/plasma/default.nix` 26 26 3. Rebuild: `sudo nixos-rebuild switch --flake .#laptop` 27 27 28 28 ## Recommended Format
+2 -6
home/programs/kde.nix
··· 1 1 # KDE Plasma desktop settings — desktop hosts only (not server). 2 2 # Terminal profile lives in terminal.nix and is imported separately for all 3 - # non-Darwin hosts; this file is only the plasma-manager + wallpaper layer. 3 + # non-Darwin hosts; this file is only the plasma-manager layer. 4 4 { lib, cfgLib, ... }: 5 5 6 6 { 7 7 imports = [ 8 - ../../settings/plasma # panels, KWin effects, shortcuts, fonts — all from cfg 8 + ../../settings/plasma 9 9 ]; 10 - 11 - # Wallpaper path is relative to this file, so it must live here rather than 12 - # in settings/plasma/default.nix. 13 - programs.plasma.workspace.wallpaper = "${../../wallpapers/wallpaper.jpg}"; 14 10 }
+5 -2
settings/plasma/default.nix
··· 9 9 # 10 10 # All font families, sizes, color schemes, and icon themes come from 11 11 # settings/config/desktop.nix — never hardcoded here. 12 - # Wallpaper and the Konsole profile live in home/programs/kde.nix. 12 + # Wallpaper lives in ../../wallpapers/wallpaper.jpg. 13 + # The Konsole profile lives in home/programs/terminal.nix. 13 14 # 14 15 # macOS-like layout: 15 16 # ┌─────────────────────────────────────────────────────────────────┐ ··· 134 135 }; 135 136 136 137 # ── Workspace ───────────────────────────────────────────────────────────── 137 - # Wallpaper is set in home/programs/kde.nix (path relative to that file). 138 138 workspace = { 139 + 140 + # Wallpaper — direct path to wallpaper.jpg. 141 + wallpaper = ../../wallpapers/wallpaper.jpg; 139 142 140 143 # Color scheme — from settings/config/desktop.nix. 141 144 # Explicit here so it always wins, even if the catppuccin module changes