Compare commits

...

2 commits

Author SHA1 Message Date
492255e4e0 nixos/nvidia: update driver 2024-12-22 16:37:52 +01:00
c6abe0f8d6 lock: update 2024-12-22 12:12:45 +01:00
3 changed files with 11 additions and 20 deletions

View file

@ -4,11 +4,11 @@
sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h";
};
nixpkgs = {
revision = "4dc2fc4e62dbf62b84132fe526356fbac7b03541";
sha256 = "10sm236ix9v0qaih2pvfdzw8vjg1w4z11fjkkrzknn4x98gnaa8n";
revision = "1c6e20d41d6a9c1d737945962160e8571df55daa";
sha256 = "1cyck9dycldzj5p8p2bz0rhzmdgm75zvmg9afhblm4k9vlr350qq";
};
cosmic-modules = {
revision = "25aa22b5972d27a6b432ccd6f9e2f42b1b7b71ca";
sha256 = "1aqw71bc79mkgikbjx519m1z81ikwdahnshfrzjcrafclalgj5pp";
revision = "86e08fbc79f33f98c00097d6dcabe0e17c20faae";
sha256 = "1zxv3lx813wvy4d036w5lg34qf51idcbd49fnllfy7vxz2nhbdp1";
};
}

View file

@ -29,8 +29,7 @@ in
];
# kernel
# FIXME: current cosmic-greeter (2024-12-02) fails to start with kernel 6.12
boot.kernelPackages = pkgs.linuxPackages_6_11;
boot.kernelPackages = pkgs.linuxPackages_latest;
# Enable networking
networking.networkmanager.enable = true;

View file

@ -16,20 +16,12 @@
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "565.57.01";
sha256_64bit = "sha256-buvpTlheOF6IBPWnQVLfQUiHv4GcwhvZW3Ks0PsYLHo=";
sha256_aarch64 = "sha256-aDVc3sNTG4O3y+vKW87mw+i9AqXCY29GVqEIUlsvYfE=";
openSha256 = "sha256-/tM3n9huz1MTE6KKtTCBglBMBGGL/GOHi5ZSUag4zXA=";
settingsSha256 = "sha256-H7uEe34LdmUFcMcS6bz7sbpYhg9zPCb/5AmZZFTx1QA=";
persistencedSha256 = "sha256-hdszsACWNqkCh8G4VBNitDT85gk9gJe1BlQ8LdrYIkg=";
patches = [
(pkgs.fetchpatch {
# Kernel 6.12 compatibility
# https://forums.developer.nvidia.com/t/patch-for-565-57-01-linux-kernel-6-12/313260
url = "https://github.com/Binary-Eater/open-gpu-kernel-modules/commit/8ac26d3c66ea88b0f80504bdd1e907658b41609d.patch";
hash = "sha256-+SfIu3uYNQCf/KXhv4PWvruTVKQSh4bgU1moePhe57U=";
})
];
version = "565.77";
sha256_64bit = "sha256-CnqnQsRrzzTXZpgkAtF7PbH9s7wbiTRNcM0SPByzFHw=";
sha256_aarch64 = "sha256-LSAYUnhfnK3rcuPe1dixOwAujSof19kNOfdRHE7bToE=";
openSha256 = "sha256-Fxo0t61KQDs71YA8u7arY+503wkAc1foaa51vi2Pl5I=";
settingsSha256 = "sha256-VUetj3LlOSz/LB+DDfMCN34uA4bNTTpjDrb6C6Iwukk=";
persistencedSha256 = "sha256-wnDjC099D8d9NJSp9D0CbsL+vfHXyJFYYgU3CwcqKww=";
};
};
nixpkgs.config.nvidia.acceptLicense = true;