move ozone var to wayland global

This commit is contained in:
Joseph Hanson 2025-03-05 10:35:26 -06:00
parent 7624c21894
commit a21deba5f2
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 4 additions and 5 deletions

View file

@ -12,6 +12,10 @@ in {
imports = [inputs.ags.homeManagerModules.default]; imports = [inputs.ags.homeManagerModules.default];
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.sessionVariables = {
# Wayland and Chromium/Electron apps.
NIXOS_OZONE_WL = "1";
};
# Downloads the Theme Resources # Downloads the Theme Resources
home.packages = with pkgs; [ home.packages = with pkgs; [
andromeda-gtk-theme andromeda-gtk-theme

View file

@ -15,11 +15,6 @@
zulu # Java OpenJDK zulu # Java OpenJDK
]; ];
environment.sessionVariables = {
# Wayland and Chromium/Electron apps.
NIXOS_OZONE_WL = "1";
};
services = { services = {
# Tailscale # Tailscale
tailscale = { tailscale = {