Compare commits
No commits in common. "492255e4e0f753a01bbdd514f4c2e99814a995f2" and "fffbd4a181652f0f8b393ca36ff0883fe47003cd" have entirely different histories.
492255e4e0
...
fffbd4a181
3 changed files with 20 additions and 11 deletions
8
lock.nix
8
lock.nix
|
@ -4,11 +4,11 @@
|
|||
sha256 = "1rq8mrlmbzpcbv9ys0x88alw30ks70jlmvnfr2j8v830yy5wvw7h";
|
||||
};
|
||||
nixpkgs = {
|
||||
revision = "1c6e20d41d6a9c1d737945962160e8571df55daa";
|
||||
sha256 = "1cyck9dycldzj5p8p2bz0rhzmdgm75zvmg9afhblm4k9vlr350qq";
|
||||
revision = "4dc2fc4e62dbf62b84132fe526356fbac7b03541";
|
||||
sha256 = "10sm236ix9v0qaih2pvfdzw8vjg1w4z11fjkkrzknn4x98gnaa8n";
|
||||
};
|
||||
cosmic-modules = {
|
||||
revision = "86e08fbc79f33f98c00097d6dcabe0e17c20faae";
|
||||
sha256 = "1zxv3lx813wvy4d036w5lg34qf51idcbd49fnllfy7vxz2nhbdp1";
|
||||
revision = "25aa22b5972d27a6b432ccd6f9e2f42b1b7b71ca";
|
||||
sha256 = "1aqw71bc79mkgikbjx519m1z81ikwdahnshfrzjcrafclalgj5pp";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -29,7 +29,8 @@ in
|
|||
];
|
||||
|
||||
# kernel
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
# FIXME: current cosmic-greeter (2024-12-02) fails to start with kernel 6.12
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_11;
|
||||
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
|
|
@ -16,12 +16,20 @@
|
|||
open = false;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
|
||||
version = "565.77";
|
||||
sha256_64bit = "sha256-CnqnQsRrzzTXZpgkAtF7PbH9s7wbiTRNcM0SPByzFHw=";
|
||||
sha256_aarch64 = "sha256-LSAYUnhfnK3rcuPe1dixOwAujSof19kNOfdRHE7bToE=";
|
||||
openSha256 = "sha256-Fxo0t61KQDs71YA8u7arY+503wkAc1foaa51vi2Pl5I=";
|
||||
settingsSha256 = "sha256-VUetj3LlOSz/LB+DDfMCN34uA4bNTTpjDrb6C6Iwukk=";
|
||||
persistencedSha256 = "sha256-wnDjC099D8d9NJSp9D0CbsL+vfHXyJFYYgU3CwcqKww=";
|
||||
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=";
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
nixpkgs.config.nvidia.acceptLicense = true;
|
||||
|
|
Loading…
Reference in a new issue