From bb070e800e87352c70c540dea20b634afbf139d1 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 31 May 2026 14:39:55 +0300 Subject: [PATCH] nixos/hyprland: migrate Systemd user settings to RFC 42-style attrs Signed-off-by: NotAShelf Change-Id: I6f9330373d89a24ccc191104bdeaa7236a6a6964 --- nixos/modules/programs/wayland/hyprland.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/modules/programs/wayland/hyprland.nix b/nixos/modules/programs/wayland/hyprland.nix index c3fba1db7548..cd041ad85f91 100644 --- a/nixos/modules/programs/wayland/hyprland.nix +++ b/nixos/modules/programs/wayland/hyprland.nix @@ -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"; + }; }; }