From 74897880c560409e0ed4b9d1ff891770c1432ab6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 24 May 2024 13:58:00 +0200 Subject: fix(modules/system/{hardware,fonts}): Fix typesystem stuff --- modules/system/hardware/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system/hardware') diff --git a/modules/system/hardware/default.nix b/modules/system/hardware/default.nix index acf9fb2e..af20ddcd 100644 --- a/modules/system/hardware/default.nix +++ b/modules/system/hardware/default.nix @@ -36,7 +36,7 @@ in { # TODO: Remove the support for the old keyboards <2024-05-16> services.udev.extraRules = - lib.mkIf cfg.moonlander.enableLiveTraining '' + lib.strings.optionalString cfg.moonlander.enableLiveTraining '' # Rules for Oryx web flashing and live training KERNEL=="hidraw*", ATTRS{idVendor}=="16c0", MODE="0664", GROUP="plugdev" KERNEL=="hidraw*", ATTRS{idVendor}=="3297", MODE="0664", GROUP="plugdev" @@ -51,7 +51,7 @@ in { # Rule for the Planck EZ SUBSYSTEM=="usb", ATTR{idVendor}=="feed", ATTR{idProduct}=="6060", GROUP="plugdev" '' - + lib.mkIf cfg.moonlander.enableFlashing + + lib.strings.optionalString cfg.moonlander.enableFlashing '' # Wally Flashing rules for the Ergodox EZ ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789B]?", ENV{ID_MM_DEVICE_IGNORE}="1" -- cgit 1.4.1