nixos/hardware.gkraken: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-27 20:42:52 +02:00
parent 6f3aef9bde
commit 166d20fb46

View File

@ -1,16 +1,13 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.hardware.gkraken;
in
{
options.hardware.gkraken = {
enable = mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
enable = lib.mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers";
};
config = mkIf cfg.enable {
config = lib.mkIf cfg.enable {
services.udev.packages = with pkgs; [
gkraken
];