From b502b6518e8513c6c74cf349da86852657203a8f Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Mon, 25 Nov 2024 01:11:06 -0700 Subject: [PATCH] Add steam --- hosts/laptop/modules/environment.nix | 7 +++++-- hosts/laptop/modules/packages.nix | 5 +++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/hosts/laptop/modules/environment.nix b/hosts/laptop/modules/environment.nix index d01b660..d312ec8 100644 --- a/hosts/laptop/modules/environment.nix +++ b/hosts/laptop/modules/environment.nix @@ -1,7 +1,10 @@ { ... }: { - # Enable wayland support for electron apps - environment.sessionVariables.NIXOS_OZONE_WL = "1"; + # Enable wayland support + environment.sessionVariables ={ + NIXOS_OZONE_WL = "1"; + STEAM_FORCE_DESKTOPUI_SCALING = "2"; + }; # Enable zsh-autocomplete compatibility environment.pathsToLink = [ "/share/zsh" ]; diff --git a/hosts/laptop/modules/packages.nix b/hosts/laptop/modules/packages.nix index 986f778..293eb38 100644 --- a/hosts/laptop/modules/packages.nix +++ b/hosts/laptop/modules/packages.nix @@ -13,6 +13,11 @@ # Misc vimix-cursors # SDDM Cursor theme ]; + + programs.steam = { + enable = true; + extest.enable = true; + }; # Install zsh programs.zsh.enable = true;