fix: enable nvidia on idol-ai

This commit is contained in:
Ryan Yin
2023-12-24 23:20:36 +08:00
parent 0a2aae246a
commit 5e83259bcb
3 changed files with 4 additions and 5 deletions

View File

@@ -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";

View File

@@ -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 = {

View File

@@ -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;