You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to set an environment variable depending on if a home manager module is enabled. Specifically I want something like this:
environment.sessionVariables.NIXOS_OZONE_WL=mkIfsnowfallorg.users.${config.${namespace}.user.name}.home.config.desktop.hyprland.enable"1";# Hint electron apps to use wayland
Where desktop.hyprland is a module living in:
modules/home/desktop/hyprland/default.nix
The text was updated successfully, but these errors were encountered:
Can you reverse it? You set hyprland on the nixos system level (you can have just empty option) and then check for that in the home modules with osConfig? I had a few of these cases myself
I need to set an environment variable depending on if a home manager module is enabled. Specifically I want something like this:
Where desktop.hyprland is a module living in:
modules/home/desktop/hyprland/default.nix
The text was updated successfully, but these errors were encountered: