diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-27 01:35:40 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-27 01:35:40 +0530 |
| commit | 1079bdef3a4630c915f62c437187a821167e8d7b (patch) | |
| tree | de70e662271ac73d270b60743cc3f3256e72fef7 /modules/desktop/hyprland/default.nix | |
| parent | 8c2587d6a19e5c1799708739b7ae343e54f7fc0e (diff) | |
| download | home-manager-config-1079bdef3a4630c915f62c437187a821167e8d7b.tar.gz home-manager-config-1079bdef3a4630c915f62c437187a821167e8d7b.zip | |
fix: browserpass works with chromium
- Setting the environment variables in hyprland so that chromium
launches with all the environment variables, (PASSWORD_STORE_DIR in
this case)
Diffstat (limited to 'modules/desktop/hyprland/default.nix')
| -rw-r--r-- | modules/desktop/hyprland/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index c1e3053..4c5281d 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -72,6 +72,18 @@ in xwayland.enable = true; systemd.enable = true; + extraConfig = '' + ${lib.concatStringsSep "\n" ( + lib.mapAttrsToList ( + name: value: + let + escapedValue = lib.escape [ "\"" "\\" ] (toString value); + in + ''hl.env("${name}", "${escapedValue}")'' + ) config.home.sessionVariables + )} + ''; + settings = { monitor = [ { |
