From 00b3302880c74e62f19206b42b2d352383f6efd3 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 28 Jan 2025 19:50:33 +0100 Subject: [PATCH] options/modules: add `local.modules.nvidia` --- modules/options/modules/default.nix | 5 ++++- modules/options/modules/nvidia.nix | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 modules/options/modules/nvidia.nix diff --git a/modules/options/modules/default.nix b/modules/options/modules/default.nix index 6597dda..a269b30 100644 --- a/modules/options/modules/default.nix +++ b/modules/options/modules/default.nix @@ -1,3 +1,6 @@ { - imports = [./hyprland.nix]; + imports = [ + ./hyprland.nix + ./nvidia.nix + ]; } diff --git a/modules/options/modules/nvidia.nix b/modules/options/modules/nvidia.nix new file mode 100644 index 0000000..f35ceaf --- /dev/null +++ b/modules/options/modules/nvidia.nix @@ -0,0 +1,7 @@ +{lib, ...}: let + inherit (lib) mkEnableOption; +in { + options.local.modules.nvidia = { + enable = mkEnableOption "nvidia"; + }; +}