commit | 98d55e15b5db4d8be92a09445f265c34f4103cff | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Tue May 31 19:15:33 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Tue May 31 20:21:31 2022 +0100 |
tree | a9d36b9758d3012d7aa4ec780f70ed8c0fc87eca | |
parent | c3585f19fb8e9a42d4bc1f8ff2778373fa2ce54a [diff] |
Begin adding nvidia drivers; wish me luck...
diff --git a/src/nix/system/nvidia.nix b/src/nix/system/nvidia.nix new file mode 100644 index 0000000..59d6dd4 --- /dev/null +++ b/src/nix/system/nvidia.nix
@@ -0,0 +1,9 @@ +{ ... }: { + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.nvidia.modesetting.enable = true; + + hardware.opengl.enable = true; + + ## Not yet finished; see https://nixos.wiki/wiki/Nvidia + # TODO: Complete this +}