fix nvidia driver version for wayland (use unstable)

This commit is contained in:
Tao Tien 2023-07-23 19:27:43 -07:00
parent 175f67e377
commit 76cf402e52
2 changed files with 15 additions and 6 deletions

View file

@ -9,8 +9,13 @@
outputs = { nixpkgs, nixos-hardware, nixpkgs-unstable, ... }:
let
system = "x86_64-linux";
overlay-unstable = final: prev: {
unstable = nixpkgs-unstable.legacyPackages.x86_64-linux;
# unstable = nixpkgs-unstable.legacyPackages.x86_64-linux;
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};
nixosSystem = (systemModules: nixpkgs.lib.nixosSystem { modules = systemModules; });
nixos-hw = nixos-hardware.nixosModules;