this repo has no description
1
fork

Configure Feed

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

Fix GPU on black-mesa

Ben C 580ee0de 69f8b0a5

+19 -12
+19 -12
systemConfigs/black-mesa.nix
··· 2 2 outputs, 3 3 inputs, 4 4 ... 5 - }: { 5 + }: 6 + { 6 7 system = "x86_64-linux"; 7 - specialArgs.inputs = inputs // inputs.spoon.inputs // {inherit (inputs) self;}; 8 + specialArgs.inputs = inputs // inputs.spoon.inputs // { inherit (inputs) self; }; 8 9 9 10 modules = [ 10 11 inputs.spoon.nixosModules.black-mesa ··· 37 38 }; 38 39 } 39 40 { 40 - imports = [inputs.bingus.nixosModules.default]; 41 - nixpkgs.overlays = [inputs.bingus.overlays.default]; 41 + imports = [ inputs.bingus.nixosModules.default ]; 42 + nixpkgs.overlays = [ inputs.bingus.overlays.default ]; 42 43 43 44 services.bingus-bot = { 44 45 enable = true; ··· 55 56 config, 56 57 pkgs, 57 58 ... 58 - }: { 59 - imports = [(modulesPath + "/installer/scan/not-detected.nix")]; 59 + }: 60 + { 61 + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; 60 62 networking.hostName = "black-mesa"; 61 63 system.stateVersion = "25.05"; 62 64 ··· 68 70 "usb_storage" 69 71 "sd_mod" 70 72 ]; 71 - boot.initrd.kernelModules = ["amdgpu"]; 72 - boot.kernelModules = ["kvm-amd"]; 73 - boot.extraModulePackages = []; 73 + boot.kernelModules = [ "kvm-amd" ]; 74 + boot.extraModulePackages = [ ]; 74 75 75 76 services.pulseaudio.enable = false; 76 77 ··· 121 122 fsType = "btrfs"; 122 123 }; 123 124 124 - swapDevices = []; 125 + swapDevices = [ ]; 125 126 126 127 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 127 128 128 - hardware.graphics.enable = true; 129 - services.xserver.videoDrivers = ["amdgpu"]; 129 + hardware.graphics = { 130 + enable = true; 131 + enable32Bit = true; 132 + }; 133 + hardware.amdgpu = { 134 + initrd.enable = true; 135 + }; 136 + services.xserver.videoDrivers = [ "modesetting" ]; 130 137 131 138 # services.nix-serve = { 132 139 # enable = true;