archachatina: update amdgpu config
This commit is contained in:
parent
a4d074b126
commit
fb518ed53b
@ -66,20 +66,24 @@
|
|||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
|
networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = super: let self = super.pkgs; in {
|
services.openssh.forwardX11 = true;
|
||||||
mesa_drivers = self.mesaDarwinOr (
|
|
||||||
let mo = self.mesa_noglu.override {
|
# nixpkgs.config.packageOverrides = super: let self = super.pkgs; in {
|
||||||
llvmPackages = pkgs.llvmPackages_39;
|
# mesa_drivers = self.mesaDarwinOr (
|
||||||
grsecEnabled = false;
|
# let mo = self.mesa_noglu.override {
|
||||||
enableTextureFloats = true;
|
# llvmPackages = pkgs.llvmPackages_39;
|
||||||
};
|
# grsecEnabled = false;
|
||||||
in mo.drivers
|
# enableTextureFloats = true;
|
||||||
);
|
# };
|
||||||
};
|
# in mo.drivers
|
||||||
|
# );
|
||||||
|
# };
|
||||||
|
|
||||||
#boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_latest;
|
#boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_latest;
|
||||||
boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_4_7;
|
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver = {
|
||||||
|
videoDrivers = [ "amdgpu" ];
|
||||||
|
# useGlamor = true;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user