Add Support for Environment Variables
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
I think I can implement this