From ddd19ebe8a8fa3d375d9541ffb4568ee95eca2e6 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 17 Mar 2024 00:12:07 -0400 Subject: [PATCH] lavaridge: added forced wayland for electron apps --- hosts/lavaridge/default.nix | 1 + modules/gnome/fractional_scaling.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 modules/gnome/fractional_scaling.nix diff --git a/hosts/lavaridge/default.nix b/hosts/lavaridge/default.nix index 47408d44..68488a21 100644 --- a/hosts/lavaridge/default.nix +++ b/hosts/lavaridge/default.nix @@ -6,6 +6,7 @@ imports = [ ../../modules/gnome + ../../modules/gnome/fractional_scaling.nix ../../modules/homelab/virtualization.nix ../../modules/plymouth.nix ../../modules/steam.nix diff --git a/modules/gnome/fractional_scaling.nix b/modules/gnome/fractional_scaling.nix new file mode 100644 index 00000000..f537d126 --- /dev/null +++ b/modules/gnome/fractional_scaling.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + environment.sessionVariables.NIXOS_OZONE_WL = "1"; +}