The session-manager wiring (uwsm + the Hyprland Wayland-compositor entry that gives Hyprland a proper graphical-session.target so user services like nomarchy-wallpaper, walker, and elephant chain off it) had lived in core/system/virtualization.nix by historical accident — loaded unconditionally on every install, nothing to do with libvirt or docker. Lifted into a dedicated core/system/session.nix and imported from core/system/default.nix between systemd.nix and virtualization.nix. virtualization.nix now contains only the libvirt + docker branches its filename implies. `nix flake check --no-build` clean. No behaviour change.
20 lines
648 B
Nix
20 lines
648 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
# uwsm + Hyprland session manager wiring. Present on every Nomarchy install
|
|
# regardless of any optional toggles — Hyprland is launched via uwsm so
|
|
# it inherits a proper systemd graphical-session.target (which user services
|
|
# like nomarchy-wallpaper, walker, and elephant chain off).
|
|
#
|
|
# Lived in core/system/virtualization.nix until 2026-05-22 by historical
|
|
# accident; the placement had nothing to do with libvirt/docker.
|
|
|
|
{
|
|
programs.uwsm = {
|
|
enable = lib.mkDefault true;
|
|
waylandCompositors.hyprland = {
|
|
binPath = "/run/current-system/sw/bin/Hyprland";
|
|
prettyName = "Hyprland";
|
|
};
|
|
};
|
|
}
|