diff options
| author | seraphim <18ycm9tx@anonaddy.me> | 2026-08-04 13:28:39 +0700 |
|---|---|---|
| committer | seraphim <18ycm9tx@anonaddy.me> | 2026-08-04 13:28:39 +0700 |
| commit | be1db27940f3612a0b1a10ca17bfd5be670fd850 (patch) | |
| tree | 4c179819d89a7d842cd9b78fd54c11e06922c3c8 /nixos/modules/system/hardware/default.nix | |
| parent | 4eba57f4e787bf97fe7dcb0e1702723aa08de01d (diff) | |
,
Diffstat (limited to 'nixos/modules/system/hardware/default.nix')
| -rw-r--r-- | nixos/modules/system/hardware/default.nix | 4 |
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 |
