mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
fix: enable nvidia on idol-ai
This commit is contained in:
@@ -60,9 +60,6 @@
|
|||||||
NIXOS_OZONE_WL = "1"; # for any ozone-based browser & electron apps to run on wayland
|
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_ENABLE_WAYLAND = "1"; # for firefox to run on wayland
|
||||||
MOZ_WEBRENDER = "1";
|
MOZ_WEBRENDER = "1";
|
||||||
# toolkit-specific scale
|
|
||||||
GDK_SCALE = "2";
|
|
||||||
XCURSOR_SIZE = "32";
|
|
||||||
# misc
|
# misc
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
modules.desktop.hyprland = {
|
modules.desktop.hyprland = {
|
||||||
nvidia = false;
|
nvidia = true;
|
||||||
settings = {
|
settings = {
|
||||||
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
# Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info.
|
||||||
# highres: get the best possible resolution
|
# highres: get the best possible resolution
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
modules.desktop.i3 = {
|
modules.desktop.i3 = {
|
||||||
nvidia = false;
|
nvidia = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ in {
|
|||||||
++ desktop_base_modules.nixos-modules;
|
++ desktop_base_modules.nixos-modules;
|
||||||
home-module.imports =
|
home-module.imports =
|
||||||
[
|
[
|
||||||
|
../hosts/idols/ai/home.nix
|
||||||
{modules.desktop.i3.enable = true;}
|
{modules.desktop.i3.enable = true;}
|
||||||
]
|
]
|
||||||
++ desktop_base_modules.home-module.imports;
|
++ desktop_base_modules.home-module.imports;
|
||||||
@@ -33,6 +34,7 @@ in {
|
|||||||
++ desktop_base_modules.nixos-modules;
|
++ desktop_base_modules.nixos-modules;
|
||||||
home-module.imports =
|
home-module.imports =
|
||||||
[
|
[
|
||||||
|
../hosts/idols/ai/home.nix
|
||||||
{modules.desktop.hyprland.enable = true;}
|
{modules.desktop.hyprland.enable = true;}
|
||||||
]
|
]
|
||||||
++ desktop_base_modules.home-module.imports;
|
++ desktop_base_modules.home-module.imports;
|
||||||
|
|||||||
Reference in New Issue
Block a user