diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index e42d1e9b..e317adbb 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -10,7 +10,11 @@ in { wayland.windowManager.hyprland = { enable = true; settings = import ./settings.nix {inherit config lib pkgs;}; - systemd.enable = true; + + systemd = { + enable = true; + variables = ["PATH"]; + }; extraConfig = let moveMonitorBinds = diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index fe7509c4..7f1b13cd 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -23,6 +23,8 @@ in { "systemctl --user stop sway-session.target" "systemctl --user start sway-session.target" ]; + + variables = ["PATH"]; }; config = {