From 0a5256629542c220111583ce44d70bc1e41d773b Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Sun, 25 Aug 2024 17:56:53 +0200 Subject: [PATCH] Update flake, format challenger/nvidia --- flake.lock | 12 ++++++------ hosts/challenger/configuration.nix | 6 +++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 9cc6164..e792a1f 100644 --- a/flake.lock +++ b/flake.lock @@ -179,11 +179,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1722221733, - "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=", + "lastModified": 1723688146, + "narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "12bf09802d77264e441f48e25459c10c93eada2e", + "rev": "c3d4ac725177c030b1e289015989da2ad9d56af0", "type": "github" }, "original": { @@ -243,11 +243,11 @@ }, "unstable": { "locked": { - "lastModified": 1722185531, - "narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=", + "lastModified": 1723637854, + "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d", + "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", "type": "github" }, "original": { diff --git a/hosts/challenger/configuration.nix b/hosts/challenger/configuration.nix index b2c2373..0a9d206 100644 --- a/hosts/challenger/configuration.nix +++ b/hosts/challenger/configuration.nix @@ -46,7 +46,11 @@ "nvidia-x11" "nvidia-settings" ]; - hardware.nvidia.modesetting.enable = true; + + hardware.nvidia = { + modesetting.enable = true; + }; + hardware.opengl.enable = true; services.xserver.videoDrivers = ["nvidia"];