nixos/hyprland: migrate Systemd user settings to RFC 42-style attrs

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6f9330373d89a24ccc191104bdeaa7236a6a6964
This commit is contained in:
NotAShelf
2026-06-12 22:12:35 +03:00
parent 45d3dd3aa2
commit bb070e800e
+3 -3
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";
};
};
}