nix/nixos/desktop/hyprpaper.nix
Markus Zoppelt 12392bae78 feat: migrate NixOS/Home Manager to 26.05 release
- Flake: Bump nixpkgs, nix-darwin, home-manager to 26.05; drop nixpkgs-unstable
- State versions: Bump to 26.05 across home.nix and NixOS configuration
- Hyprland: Pin configType="hyprlang" (Lua renderer broken in HM 26.05)
  - Move env vars from settings.env to home.sessionVariables
  - Fix walker menu bind (drop -m applications, use desktopapplications provider)
  - Fix emoji bind: walker -m unicode
  - Remove redundant defaults (rounding_power, vibrancy, force_default_wallpaper, pseudotile)
  - Remove dead windowrulev2 comment block
- Hyprpaper: Migrate to block syntax, add splash=false, use absolute paths
- Walker: Migrate to services.walker + services.elephant HM modules
  - Drop old walker 0.x raw configs (config.toml, default.css, default.toml)
  - Update tokyonight.css for walker 2.x GTK4 theme
- Waybar: Remove custom/gpu module and script
- Gaming: Remove gamescopeSession.enable (fixes bwrap setuid conflict with capSysNice)
  - Remove Steam CEF wrapper hack
- GUI: Restore GDM with gnome-session and XDG_DATA_DIRS fix for GDM 50
- Neovim: Remove pkgs-unstable reference, migrate extraLuaConfig -> initLua

feat(desktop): dark theme for libadwaita apps

Nautilus and Papers (GTK4/libadwaita) ignored Tokyonight and rendered
light. Two issues:

1. color-scheme=prefer-dark was only set in system dconf, which the
   per-user dconf shadowed. Move it to home-manager.
2. libadwaita queries org.freedesktop.portal.Settings, which had no
   backend on Hyprland: xdg-desktop-portal-gtk was missing from the
   home-manager user profile (where the running portal looks), and
   hyprland-portals.conf did not route Settings to gtk.

Add the gtk backend and per-desktop routing in the home-manager
xdg.portal scope; collapse now-redundant system blocks.

style: nix fmt
2026-05-25 22:22:56 +02:00

22 lines
660 B
Nix

{ config, ... }:
{
services.hyprpaper = {
enable = true;
settings = {
# The splash text ("Hyprland is not a window manager!" etc.) is
# rendered by hyprpaper, not Hyprland. `misc.disable_splash_rendering`
# in hyprland.conf is a no-op for hyprpaper sessions.
splash = false;
preload = [ "${config.home.homeDirectory}/.config/hypr/tokyonight.png" ];
wallpaper = [
{
monitor = "DP-1";
path = "${config.home.homeDirectory}/.config/hypr/tokyonight.png";
fit_mode = "cover";
}
];
};
};
xdg.configFile."hypr/tokyonight.png".source = ../hypr/tokyonight.png;
}