this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

configure steam

+36 -1
+1
hosts/mars/configuration.nix
··· 122 122 enable = true; 123 123 remotePlay.openFirewall = true; 124 124 dedicatedServer.openFirewall = true; 125 + localNetworkGameTransfers.openFirewall = true; 125 126 }; 126 127 127 128 programs.neovim = {
+35 -1
hosts/mars/hardware-configuration.nix
··· 29 29 ]; 30 30 31 31 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 32 - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 32 + hardware.graphics = { 33 + enable = true; 34 + }; 35 + 36 + # Load nvidia driver for Xorg and Wayland 37 + services.xserver.videoDrivers = ["nvidia"]; 38 + 39 + hardware.nvidia = { 40 + # Modesetting is required. 41 + modesetting.enable = true; 42 + 43 + # Nvidia power management. Experimental, and can cause sleep/suspend to fail. 44 + # Enable this if you have graphical corruption issues or application crashes after waking 45 + # up from sleep. This fixes it by saving the entire VRAM memory to /tmp/ instead 46 + # of just the bare essentials. 47 + powerManagement.enable = false; 48 + 49 + # Fine-grained power management. Turns off GPU when not in use. 50 + # Experimental and only works on modern Nvidia GPUs (Turing or newer). 51 + powerManagement.finegrained = false; 52 + 53 + # Enable the Nvidia settings menu, 54 + # accessible via `nvidia-settings`. 55 + nvidiaSettings = true; 56 + 57 + open = false; 58 + 59 + prime = { 60 + amdgpuBusId = "PCI:6:0:0"; 61 + nvidiaBusId = "PCI:1:0:0"; 62 + }; 63 + 64 + # Optionally, you may need to select the appropriate driver version for your specific GPU. 65 + package = config.boot.kernelPackages.nvidiaPackages.stable; 66 + }; 33 67 }