From 70012566436cceb7b7f5cb3c0595db507bccbec4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 27 Feb 2024 22:20:29 +0300 Subject: [PATCH] nvidia huanan --- hosts/dlaptop/configuration.nix | 7 ------- hosts/huanan/configuration.nix | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/dlaptop/configuration.nix b/hosts/dlaptop/configuration.nix index b8bb0e8..aa07e37 100644 --- a/hosts/dlaptop/configuration.nix +++ b/hosts/dlaptop/configuration.nix @@ -21,13 +21,6 @@ # Load nvidia driver for Xorg and Wayland services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc. - hardware.nvidia = { - modesetting.enable = true; - powerManagement.enable = false; - open = false; - nvidiaSettings = true; - }; - nixpkgs.overlays = [ (final: prev: { gnome = prev.gnome.overrideScope' (gnomeFinal: gnomePrev: { diff --git a/hosts/huanan/configuration.nix b/hosts/huanan/configuration.nix index a6f01e5..70502a3 100644 --- a/hosts/huanan/configuration.nix +++ b/hosts/huanan/configuration.nix @@ -37,6 +37,13 @@ xdg.ausl.extraPortals = with pkgs; [ xdg-desktop-ausl-hyprland ]; + hardware.nvidia = { + modesetting.enable = true; + powerManagement.enable = false; + open = false; + nvidiaSettings = true; + }; + boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/nvme0n1"; boot.loader.grub.useOSProber = true;