compromise for no suspend
This commit is contained in:
parent
37c6c3371e
commit
4f2f4c9b52
3 changed files with 28 additions and 15 deletions
14
modules/hardware/rgb.nix
Normal file
14
modules/hardware/rgb.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.hardware.rgb;
|
||||
in {
|
||||
options.modules.hardware.rgb = {
|
||||
enable = mkEnableOption "Enable support for rgb devices through openrgb";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.hardware.openrgb.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue