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 ];
|
||||
|
||||
nixpkgs.config.packageOverrides = super: let self = super.pkgs; in {
|
||||
mesa_drivers = self.mesaDarwinOr (
|
||||
let mo = self.mesa_noglu.override {
|
||||
llvmPackages = pkgs.llvmPackages_39;
|
||||
grsecEnabled = false;
|
||||
enableTextureFloats = true;
|
||||
};
|
||||
in mo.drivers
|
||||
);
|
||||
};
|
||||
services.openssh.forwardX11 = true;
|
||||
|
||||
# nixpkgs.config.packageOverrides = super: let self = super.pkgs; in {
|
||||
# mesa_drivers = self.mesaDarwinOr (
|
||||
# let mo = self.mesa_noglu.override {
|
||||
# llvmPackages = pkgs.llvmPackages_39;
|
||||
# grsecEnabled = false;
|
||||
# enableTextureFloats = true;
|
||||
# };
|
||||
# in mo.drivers
|
||||
# );
|
||||
# };
|
||||
|
||||
#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