diff options
Diffstat (limited to 'nix/modules')
-rw-r--r-- | nix/modules/home/default.nix | 1 | ||||
-rw-r--r-- | nix/modules/nvidia.nix | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/nix/modules/home/default.nix b/nix/modules/home/default.nix index 1f87d57..a59a536 100644 --- a/nix/modules/home/default.nix +++ b/nix/modules/home/default.nix @@ -40,6 +40,7 @@ art.enable = lib.mkEnableOption "Enables various art programs"; music.enable = lib.mkEnableOption "Enables mpd"; workstation.enable = lib.mkEnableOption "Enables workstation packages (music production and others)"; + cuda.enable = lib.mkEnableOption "Enables CUDA user package builds"; hyprland = { enable = lib.mkEnableOption "Enables hyprland"; diff --git a/nix/modules/nvidia.nix b/nix/modules/nvidia.nix index b59035c..04d5545 100644 --- a/nix/modules/nvidia.nix +++ b/nix/modules/nvidia.nix @@ -1,7 +1,7 @@ { config, lib, pkgs, ... }: { hardware = { - opengl.extraPackages = with pkgs; [ + graphics.extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl nvidia-vaapi-driver |