system-manager icon indicating copy to clipboard operation
system-manager copied to clipboard

Add Support for Environment Variables

Open EliSauder opened this issue 7 months ago • 1 comments

Is your feature request related to a problem? Please describe.

I am currently working on setting up hyprland on an ubuntu system. However, hyprland, like other systems, relies on certain environment variables to configure behavior.

The specific ones I am using at the moment are (this is based on a NixOS config I have an another machine): POLKIT_AUTH_AGENT NIXOS_OZONE_WL XDG_SESSION_TYPE

Describe the solution you'd like

The ability to set environment variables using system-manager. Specifically: environment.variables environment.sessionVariables environment.profileRelativeSessionVariables

Describe alternatives you've considered

The only other way I can think of achieving this is by adding scripts or by updating /etc/environment somehow. I have not actually attempted this yet.

Additional context

EliSauder avatar May 01 '25 19:05 EliSauder

I think I can implement this

ethancedwards8 avatar Jun 09 '25 01:06 ethancedwards8