From 5e83259bcbc7acb7fe67e7848b62a55c70474b34 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 24 Dec 2023 23:20:36 +0800 Subject: [PATCH] fix: enable nvidia on idol-ai --- home/linux/desktop/hyprland/values/hyprland.nix | 3 --- hosts/idols/ai/home.nix | 4 ++-- systems/vars.nix | 2 ++ 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/home/linux/desktop/hyprland/values/hyprland.nix b/home/linux/desktop/hyprland/values/hyprland.nix index 293cbc41..9ea80c49 100644 --- a/home/linux/desktop/hyprland/values/hyprland.nix +++ b/home/linux/desktop/hyprland/values/hyprland.nix @@ -60,9 +60,6 @@ NIXOS_OZONE_WL = "1"; # for any ozone-based browser & electron apps to run on wayland MOZ_ENABLE_WAYLAND = "1"; # for firefox to run on wayland MOZ_WEBRENDER = "1"; - # toolkit-specific scale - GDK_SCALE = "2"; - XCURSOR_SIZE = "32"; # misc _JAVA_AWT_WM_NONREPARENTING = "1"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; diff --git a/hosts/idols/ai/home.nix b/hosts/idols/ai/home.nix index c8b05204..3b9cfc07 100644 --- a/hosts/idols/ai/home.nix +++ b/hosts/idols/ai/home.nix @@ -1,6 +1,6 @@ { modules.desktop.hyprland = { - nvidia = false; + nvidia = true; settings = { # Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. # highres: get the best possible resolution @@ -12,7 +12,7 @@ }; modules.desktop.i3 = { - nvidia = false; + nvidia = true; }; programs.ssh = { diff --git a/systems/vars.nix b/systems/vars.nix index 25664ce3..c90f9e05 100644 --- a/systems/vars.nix +++ b/systems/vars.nix @@ -19,6 +19,7 @@ in { ++ desktop_base_modules.nixos-modules; home-module.imports = [ + ../hosts/idols/ai/home.nix {modules.desktop.i3.enable = true;} ] ++ desktop_base_modules.home-module.imports; @@ -33,6 +34,7 @@ in { ++ desktop_base_modules.nixos-modules; home-module.imports = [ + ../hosts/idols/ai/home.nix {modules.desktop.hyprland.enable = true;} ] ++ desktop_base_modules.home-module.imports;