nixos/hyprland: migrate Systemd user settings to RFC 42-style attrs (#531116)

This commit is contained in:
Austin Horstman 2026-06-12 22:56:24 +00:00 committed by GitHub
commit 3f5dcf4036
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,9 +107,9 @@ in
services.displayManager.sessionPackages = [ cfg.package ];
systemd = lib.mkIf cfg.systemd.setPath.enable {
user.extraConfig = ''
DefaultEnvironment="PATH=/run/wrappers/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:$PATH"
'';
user.settings.Manager = {
DefaultEnvironment = "PATH=/run/wrappers/bin:/etc/profiles/per-user/%u/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:$PATH";
};
};
}