peripherals/razer: move into Infini-DESKTOP
This commit is contained in:
parent
32ad0bef14
commit
495185b48c
2 changed files with 8 additions and 26 deletions
|
@ -1,22 +0,0 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.our;
|
||||
let cfg = config.modules.hardware.peripherals.razer;
|
||||
in
|
||||
{
|
||||
options.modules.hardware.peripherals.razer = {
|
||||
enable = mkBoolOpt false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hardware.openrazer = {
|
||||
enable = true;
|
||||
users = [ config.user.name ];
|
||||
};
|
||||
|
||||
user.extraGroups = [ "plugdev" ];
|
||||
|
||||
home.home.packages = with pkgs; [ razergenie ]; # TODO replace with polychromatic
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue