Split some modules up.

This commit is contained in:
Jurn Wubben 2025-06-24 09:06:21 +02:00
parent 45cc3df817
commit 400d2ad28f
4 changed files with 68 additions and 59 deletions

View file

@ -3,9 +3,10 @@
imports = [
./bluetooth.nix
./graphics.nix
./fingerprint.nix
./fwupd.nix
./graphics.nix
./joycond.nix
./power.nix
];
}

View file

@ -0,0 +1,12 @@
{
config,
lib,
...
}: {
options.niksos.joycond = lib.mkEnableOption "support for nintendo switch controllers.";
config.services = lib.mkIf config.niksos.joycond {
usbmuxd.enable = true;
joycond.enable = true;
};
}