feat: switch to latest unstable nvidia driver
This commit is contained in:
parent
d11845b7f6
commit
1447a77de5
3 changed files with 20 additions and 13 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
{ config
|
||||
, lib
|
||||
, modulesPath
|
||||
, pkgs
|
||||
, ...
|
||||
}:
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
boot.resumeDevice = "/dev/disk/by-label/ROOT";
|
||||
|
||||
hardware.nvidia.package = pkgs.unstable.linuxPackages.nvidiaPackages.latest;
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/ROOT";
|
||||
fsType = "btrfs";
|
||||
|
|
@ -66,7 +68,7 @@
|
|||
options = [ "subvol=@" ];
|
||||
};
|
||||
|
||||
swapDevices = [ { device = "/swap/swapfile"; } ];
|
||||
swapDevices = [{ device = "/swap/swapfile"; }];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue