hyprland,sway: import all env vars with systemd

This commit is contained in:
Aly Raffauf 2024-08-07 19:39:43 -04:00
parent c1f679c06e
commit e80858a501
2 changed files with 10 additions and 0 deletions

View file

@ -11,6 +11,11 @@ in {
enable = true; enable = true;
settings = import ./settings.nix {inherit config lib pkgs;}; settings = import ./settings.nix {inherit config lib pkgs;};
systemd = {
enable = true;
variables = ["--all"];
};
extraConfig = let extraConfig = let
moveMonitorBinds = moveMonitorBinds =
lib.attrsets.mapAttrsToList ( lib.attrsets.mapAttrsToList (

View file

@ -13,6 +13,11 @@ in {
package = lib.mkDefault pkgs.swayfx; package = lib.mkDefault pkgs.swayfx;
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
systemd = {
enable = true;
variables = ["--all"];
};
config = { config = {
bars = []; bars = [];
modifier = modifier; modifier = modifier;