chore: update NixOS configuration to fetch unstable tarball and switch to stable NVIDIA driver package
All checks were successful
Nix Format Check / check-format (push) Successful in 38s

This commit is contained in:
2024-11-21 22:34:51 +01:00
parent 32f4717c8a
commit c5fdac86b2

View File

@ -7,7 +7,8 @@
}:
let
unstable = import <nixos-unstable> { config = config.nixpkgs.config; };
unstableTarball = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
unstable = import unstableTarball { config = config.nixpkgs.config; };
in
{
imports = [
@ -53,6 +54,6 @@ in
nvidiaSettings = true;
# Use the latest driver from the unstable channel
package = unstable.linuxPackages.nvidiaPackages.beta;
package = unstable.linuxPackages.nvidiaPackages.stable;
};
}