From e80858a50125b7bb334bb9ba27d38ad4883aa711 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 7 Aug 2024 19:39:43 -0400 Subject: [PATCH] hyprland,sway: import all env vars with systemd --- homeManagerModules/desktop/hyprland/default.nix | 5 +++++ homeManagerModules/desktop/sway/settings.nix | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index f198ae6b..dee99b44 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -11,6 +11,11 @@ in { enable = true; settings = import ./settings.nix {inherit config lib pkgs;}; + systemd = { + enable = true; + variables = ["--all"]; + }; + extraConfig = let moveMonitorBinds = lib.attrsets.mapAttrsToList ( diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index 629d525e..171c5788 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -13,6 +13,11 @@ in { package = lib.mkDefault pkgs.swayfx; wrapperFeatures.gtk = true; + systemd = { + enable = true; + variables = ["--all"]; + }; + config = { bars = []; modifier = modifier;