diff --git a/modules/shortcuts.nix b/modules/shortcuts.nix index a1ee8d6..b50d2ca 100644 --- a/modules/shortcuts.nix +++ b/modules/shortcuts.nix @@ -39,7 +39,7 @@ in ''; }; - config = lib.mkIf cfg.enable { + config = lib.mkIf (cfg.enable && builtins.attrNames cfg.shortcuts != 0) { programs.plasma.files."kglobalshortcutsrc" = shortcutsToSettings cfg.shortcuts; };