moved hardware configuration software options to hardware.nix

This commit is contained in:
Leyla Becker 2024-09-20 21:28:53 -05:00
parent 834165443a
commit 2213d099d0
8 changed files with 85 additions and 62 deletions

View file

@ -118,9 +118,9 @@ in
noisetorch
# hardware managment tools
(lib.mkIf cfg.hasPiperMouse piper)
(lib.mkIf cfg.hasOpenRGBHardware openrgb)
(lib.mkIf cfg.hasViaKeyboard via)
(lib.mkIf config.hardware.piperMouse.enable piper)
(lib.mkIf config.hardware.openRGB.enable openrgb)
(lib.mkIf config.hardware.viaKeyboard.enable via)
]
)
)