Switch xpadneo to github to try fix controller.

This commit is contained in:
niten 2021-12-09 09:44:35 -08:00
parent a76c9d1a7f
commit 813ba34cde
2 changed files with 10 additions and 2 deletions

View File

@ -19,7 +19,15 @@ in {
};
kernelModules = [ "kvm-amd" ];
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgs.linuxPackages_latest.extend (final: prev: {
xpadneo = prev.xpadneo.overrideAttrs (attrs: rec {
src = pkgs.fetchgit {
url = "https://github.com/atar-axis/xpadneo.git";
rev = "cf392a7c93e05d76b6d3befc5b70e19e894f6823";
sha256 = "1ak8n3xfp1bc5j8nb6yyw809gr41w0nizsa35lajrn3nqp4r2n6b";
};
});
});
# kernelPatches = [{
# name = "big-navi";

View File

@ -6,7 +6,7 @@ in {
environment.systemPackages = with pkgs; [ opencv-java ];
networking = { interfaces = { intif0 = { useDHCP = true; }; }; };
networking.interfaces.intif0.useDHCP = true;
systemd.tmpfiles.rules = [
"L /root/.gnupg - - - - ${state-dir}/user/root/gnupg"