summaryrefslogtreecommitdiff
path: root/nixos/modules/system/hardware/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/system/hardware/default.nix')
-rw-r--r--nixos/modules/system/hardware/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/system/hardware/default.nix b/nixos/modules/system/hardware/default.nix
index bad717c..b3f1bbb 100644
--- a/nixos/modules/system/hardware/default.nix
+++ b/nixos/modules/system/hardware/default.nix
@@ -1,16 +1,20 @@
{ config, pkgs, ... }:
{
+ # Secondary data drive, mounted as a regular user (rw, no root needed).
fileSystems."/mnt/giga" = {
device = "/dev/disk/by-uuid/bfed3a37-05e1-465b-a4b7-d74cd31bf937";
fsType = "ext4";
options = [ "defaults" "user" "rw" ];
};
+ # Mesa graphics stack (needed even on NVIDIA for software fallbacks / GL).
hardware.graphics = {
enable = true;
enable32Bit = true;
};
+ # The actual NVIDIA driver is configured in modules/features/nvidia; this
+ # just tells the X server legacy path to prefer the nvidia driver name.
services.xserver.videoDrivers = [ "nvidia" ];
} \ No newline at end of file