fuck my fucking chungus life i am such a fat chud
This commit is contained in:
parent
e912383941
commit
0787779876
8 changed files with 44 additions and 20 deletions
|
|
@ -19,6 +19,33 @@
|
|||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
protonup-ng
|
||||
];
|
||||
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
open = false;
|
||||
powerManagement.enable = false;
|
||||
prime = {
|
||||
offload.enable = true;
|
||||
offload.enableOffloadCmd = true;
|
||||
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
amdgpuBusId = "PCI:19:0:0";
|
||||
};
|
||||
};
|
||||
services.xserver.videoDrivers = ["nvidia" "amdgpu"];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
networking.hostName = "virgil";
|
||||
|
|
|
|||
|
|
@ -18,11 +18,6 @@
|
|||
boot.extraModulePackages = [];
|
||||
|
||||
swapDevices = [];
|
||||
fileSystems."/mnt/share" = {
|
||||
device = "192.168.1.200:/Main/";
|
||||
fsType = "nfs";
|
||||
options = ["_netdev" "noauto" "x-systemd.automount" "x-systemd.mount-timeout=10" "timeo=14" "x-systemd.idle-timeout=600"];
|
||||
};
|
||||
fileSystems."/mnt/backup" = {
|
||||
device = "/dev/disk/by-uuid/4242ad6b-4b5e-4990-bcf7-501f6099b429";
|
||||
fsType = "ext4";
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
inputs.nixos-vfio.nixosModules.vfio
|
||||
];
|
||||
|
||||
boot.kernelParams = ["amd_iommu=on"];
|
||||
boot.kernelParams = ["amd_iommu=on" "nvidia-drm.modeset=0"];
|
||||
boot.blacklistedKernelModules = ["nvidia" "nouveau"];
|
||||
boot.extraModulePackages = [config.boot.kernelPackages.kvmfr];
|
||||
boot.kernelModules = ["vfio_virqfd" "vfio_pci" "vfio_iommu_type1" "vfio"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue