options/modules: add local.modules.nvidia

This commit is contained in:
Anthony Rodriguez 2025-01-28 19:50:33 +01:00
parent 71d3ad25df
commit 00b3302880
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,6 @@
{
imports = [./hyprland.nix];
imports = [
./hyprland.nix
./nvidia.nix
];
}

View file

@ -0,0 +1,7 @@
{lib, ...}: let
inherit (lib) mkEnableOption;
in {
options.local.modules.nvidia = {
enable = mkEnableOption "nvidia";
};
}