Task: moved hardware options into the niksos.hardware suboptions.
This commit is contained in:
parent
0924f9c267
commit
678c3cb4f7
15 changed files with 99 additions and 82 deletions
|
|
@ -3,9 +3,7 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
options.niksos.joycond = lib.mkEnableOption "support for nintendo switch controllers.";
|
||||
|
||||
config.services = lib.mkIf config.niksos.joycond {
|
||||
config.services = lib.mkIf config.niksos.hardware.joycond {
|
||||
usbmuxd.enable = true;
|
||||
joycond.enable = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue