Fix niri config discovery, polkit path, wallpaper stack

- NIRI_CONFIG points niri at /etc/xdg; without it niri writes its own
  default config, so none of the Moonarch settings applied.
- config.kdl spawns the polkit agent by FHS path, provided via tmpfiles
  instead of diverging the config shared with Arch.
- waypaper was missing entirely, hence no wallpaper. It invokes swww,
  which the maintained awww provides under a different name.
This commit is contained in:
nevaforget committed 2026-08-07 13:17:46 +02:00
1 parent 9de88b8d64
commit d9d616c45d
3 files changed
+29 -15

No files matched your search

+3 -13
View File
@@ -88,17 +88,7 @@
};
};
# Polkit authentication agent for the graphical session.
systemd.user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome authentication agent";
partOf = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
};
};
# The polkit agent is not a service here: niri spawns it via
# spawn-at-startup in defaults/xdg/niri/config.kdl. Only the FHS path it
# references has to exist — see modules/desktop.nix.
}