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
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
This commit is contained in:
@@ -7,7 +7,8 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
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
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -53,6 +54,6 @@ in
|
|||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
|
|
||||||
# Use the latest driver from the unstable channel
|
# Use the latest driver from the unstable channel
|
||||||
package = unstable.linuxPackages.nvidiaPackages.beta;
|
package = unstable.linuxPackages.nvidiaPackages.stable;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user