archachatina: use stable mesa drivers to prevent driver crash
This commit is contained in:
parent
776f46612b
commit
6494a1737a
@ -42,6 +42,8 @@
|
||||
|
||||
recoll
|
||||
uvccapture
|
||||
|
||||
# libratbag
|
||||
];
|
||||
|
||||
services.thermald.enable = true;
|
||||
@ -70,7 +72,8 @@
|
||||
|
||||
services.openssh.forwardX11 = true;
|
||||
|
||||
# nixpkgs.config.packageOverrides = super: let self = super.pkgs; in {
|
||||
nixpkgs.config.packageOverrides = super: let self = super.pkgs; in {
|
||||
mesa_drivers = self.stable.mesa_drivers;
|
||||
# mesa_drivers = self.mesaDarwinOr (
|
||||
# let mo = self.mesa_noglu.override {
|
||||
# llvmPackages = pkgs.llvmPackages_39;
|
||||
@ -79,13 +82,15 @@
|
||||
# };
|
||||
# in mo.drivers
|
||||
# );
|
||||
# };
|
||||
};
|
||||
|
||||
#boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages_latest;
|
||||
# boot.kernelPackages = pkgs.lib.mkOverride 10 pkgs.linuxPackages;
|
||||
|
||||
services.xserver = {
|
||||
videoDrivers = [ "amdgpu" ];
|
||||
# useGlamor = true;
|
||||
deviceSection = ''
|
||||
Option "TearFree" "on"
|
||||
'';
|
||||
};
|
||||
|
||||
services.transmission.enable = true;
|
||||
|
@ -72,11 +72,12 @@
|
||||
cvc4
|
||||
graphviz
|
||||
# toysolver
|
||||
stable.haskellPackages.tip-lib
|
||||
oldstable.haskellPackages.tip-lib
|
||||
|
||||
emacsPackages.proofgeneral
|
||||
|
||||
stablePkgs # protect nixpkgs checkout from GC
|
||||
oldstablePkgs # protect nixpkgs checkout from GC
|
||||
stablePkgs
|
||||
] ++ (with aspellDicts; [ en de fr nl ]);
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: with pkgs; let
|
||||
@ -86,10 +87,14 @@
|
||||
owner = "NixOS";
|
||||
repo = "nixpkgs-channels";
|
||||
};
|
||||
stablePkgs = fetchNixPkgs {
|
||||
oldstablePkgs = fetchNixPkgs {
|
||||
rev = "5237768d62a40236d24fafbd9f4f97f3227399ce";
|
||||
sha256 = "1j707pwm6ll2cvmqvwfxxq21gd9q7l6s3vi3vc01jklplj2v20is";
|
||||
};
|
||||
stablePkgs = fetchNixPkgs {
|
||||
rev = "19879836d10f64a10658d1e2a84fc54b090e2087";
|
||||
sha256 = "1x41ch2mgzs85ivvyp3zqkbh4i0winjg69g5x0p3q7avgrhkl7ph";
|
||||
};
|
||||
in {
|
||||
# idea-community-eap = pkgs.idea.idea-community.overrideDerivation (oldAttrs: rec {
|
||||
# name = "idea-community-${version}";
|
||||
@ -115,6 +120,8 @@
|
||||
# extraPythonPackages = [ pkgs.pythonPackages.websocket_client ];
|
||||
# };
|
||||
|
||||
oldstablePkgs = oldstablePkgs;
|
||||
oldstable = import oldstablePkgs {};
|
||||
stablePkgs = stablePkgs;
|
||||
stable = import stablePkgs {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user