moved hardware configuration software options to hardware.nix
This commit is contained in:
parent
834165443a
commit
2213d099d0
8 changed files with 85 additions and 62 deletions
|
@ -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)
|
||||
]
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue