restructured directories + modularized btrfs mount

This commit is contained in:
2024-04-18 20:24:00 -06:00
parent bad3a00e3c
commit d271979bec
75 changed files with 65 additions and 1873 deletions

22
services/nvidia.nix Normal file
View File

@@ -0,0 +1,22 @@
{ config, lib, pkgs, ... }:
{
services.xserver.videoDrivers = [ "nvidia" ];
hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
nvidia-vaapi-driver
vaapiVdpau
libvdpau-va-gl
];
};
nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
powerManagement.finegrained = false;
};
};
}