From a600143e8a116f211ae21b637517515e6a055a20 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 18 Dec 2024 10:19:24 +0100 Subject: [PATCH] nvidia: move to hosts/solaire --- config/nixos/hardware/nvidia.nix | 12 ------------ hosts/solaire/config/nvidia.nix | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 hosts/solaire/config/nvidia.nix diff --git a/config/nixos/hardware/nvidia.nix b/config/nixos/hardware/nvidia.nix index 1f2026e..e69de29 100644 --- a/config/nixos/hardware/nvidia.nix +++ b/config/nixos/hardware/nvidia.nix @@ -1,12 +0,0 @@ -{config, ...}: { - hardware.graphics.enable = true; - services.xserver.videoDrivers = ["nvidia"]; - hardware.nvidia = { - modesetting.enable = true; - powerManagement.enable = false; - powerManagement.finegrained = false; - open = true; - nvidiaSettings = true; - package = config.boot.kernelPackages.nvidiaPackages.beta; - }; -} diff --git a/hosts/solaire/config/nvidia.nix b/hosts/solaire/config/nvidia.nix new file mode 100644 index 0000000..1f2026e --- /dev/null +++ b/hosts/solaire/config/nvidia.nix @@ -0,0 +1,12 @@ +{config, ...}: { + hardware.graphics.enable = true; + services.xserver.videoDrivers = ["nvidia"]; + hardware.nvidia = { + modesetting.enable = true; + powerManagement.enable = false; + powerManagement.finegrained = false; + open = true; + nvidiaSettings = true; + package = config.boot.kernelPackages.nvidiaPackages.beta; + }; +}