diff --git a/flake.nix b/flake.nix index 0a74596..735da26 100644 --- a/flake.nix +++ b/flake.nix @@ -50,7 +50,8 @@ system = "x86_64-linux"; unfreePkgs = [ "hplip" - "vivify.vim" + "nvidia-x11" + "nvidia-settings" "cheatsheet.nvim" ]; mkUnfreePredicate = pkg: diff --git a/modules/hardware/nvidia.nix b/modules/hardware/nvidia.nix new file mode 100644 index 0000000..911c8d5 --- /dev/null +++ b/modules/hardware/nvidia.nix @@ -0,0 +1,7 @@ +_: { + flake.nixosModules.nvidia = _: { + hardware.graphics.enable = true; + services.xserver.videoDrivers = [ "nvidia" ]; + hardware.nvidia.open = true; + }; +} diff --git a/modules/hosts/desktop.nix b/modules/hosts/desktop.nix index cd83d20..f5066d9 100644 --- a/modules/hosts/desktop.nix +++ b/modules/hosts/desktop.nix @@ -36,6 +36,7 @@ mullvad networking notifications + nvidia office #ollama otherUtils