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 ]; 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;
};
} }