hyprland,sway: import PATH to systemd

This commit is contained in:
Aly Raffauf 2024-09-15 10:54:10 -04:00
parent 34038b6472
commit 3ad1cf542f
2 changed files with 7 additions and 1 deletions

View file

@ -10,7 +10,11 @@ in {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
settings = import ./settings.nix {inherit config lib pkgs;}; settings = import ./settings.nix {inherit config lib pkgs;};
systemd.enable = true;
systemd = {
enable = true;
variables = ["PATH"];
};
extraConfig = let extraConfig = let
moveMonitorBinds = moveMonitorBinds =

View file

@ -23,6 +23,8 @@ in {
"systemctl --user stop sway-session.target" "systemctl --user stop sway-session.target"
"systemctl --user start sway-session.target" "systemctl --user start sway-session.target"
]; ];
variables = ["PATH"];
}; };
config = { config = {