From d03c0990e8397b2479748f1b8d6dc55d4658d5de Mon Sep 17 00:00:00 2001 From: harry123 Date: Sun, 9 Feb 2025 17:30:51 +0100 Subject: [PATCH] added nvidia --- hosts/goober/features/hardware/default.nix | 1 + hosts/goober/features/hardware/nvidia.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 hosts/goober/features/hardware/nvidia.nix diff --git a/hosts/goober/features/hardware/default.nix b/hosts/goober/features/hardware/default.nix index 3c3a59c..3f10141 100644 --- a/hosts/goober/features/hardware/default.nix +++ b/hosts/goober/features/hardware/default.nix @@ -3,5 +3,6 @@ imports = [ ./bluetooth.nix ./pipewire.nix + ./nvidia.nix ]; } diff --git a/hosts/goober/features/hardware/nvidia.nix b/hosts/goober/features/hardware/nvidia.nix new file mode 100644 index 0000000..2272c6b --- /dev/null +++ b/hosts/goober/features/hardware/nvidia.nix @@ -0,0 +1,7 @@ +{config, pkgs}: + +{ + + hardware.graphics.enable = true; + hardware.nvidia.open = true; +}