diff options
| author | seth <[email protected]> | 2023-03-05 15:29:43 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-05 15:29:43 -0500 |
| commit | 09c7f7d498cfa214c822a8f16eb6a7de35fb3f3b (patch) | |
| tree | a40e0d73005d99e7dff2c42146baa10041a1e98d /hosts | |
| parent | b08e0759f69a6f122a60ac12351e112a1951aaa0 (diff) | |
unpin kernel/nvidia package
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/common/hardware/nvidia.nix | 4 | ||||
| -rw-r--r-- | hosts/glados/boot.nix | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/hosts/common/hardware/nvidia.nix b/hosts/common/hardware/nvidia.nix index 6a4b177..99f7d6e 100644 --- a/hosts/common/hardware/nvidia.nix +++ b/hosts/common/hardware/nvidia.nix @@ -7,8 +7,8 @@ nvidia = { package = config.boot.kernelPackages.nvidiaPackages.stable; modesetting.enable = true; - nvidiaPersistenced = true; - powerManagement.enable = true; + # nvidiaPersistenced = true; + # powerManagement.enable = true; }; opengl = { enable = true; diff --git a/hosts/glados/boot.nix b/hosts/glados/boot.nix index 34dcc14..deb843b 100644 --- a/hosts/glados/boot.nix +++ b/hosts/glados/boot.nix @@ -1,14 +1,8 @@ { lib, pkgs, - nixpkgsStable, ... -}: let - pinned-kernel = import nixpkgsStable { - system = "x86_64-linux"; - config.allowUnfree = true; - }; -in { +}: { environment.systemPackages = with pkgs; [ sbctl tpm2-tss @@ -16,7 +10,7 @@ in { boot = { initrd.systemd.enable = true; - kernelPackages = pinned-kernel.pkgs.linuxPackages_6_1; + kernelPackages = pkgs.linuxPackages_6_1; kernel.sysctl = { "vm.swappiness" = 100; |
