archachatina: update amdgpu config

This commit is contained in:
Gabriel Ebner 2017-02-14 17:36:35 +01:00
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;
};
}