From aa26fcd6111380896b7598cbb1a991a6c8f4da82 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 9 Nov 2023 11:25:11 +0100 Subject: [PATCH] overlays: remove chrysalis --- overlays/chrysalis/default.nix | 37 ---------------------------------- overlays/default.nix | 1 - 2 files changed, 38 deletions(-) delete mode 100644 overlays/chrysalis/default.nix diff --git a/overlays/chrysalis/default.nix b/overlays/chrysalis/default.nix deleted file mode 100644 index ab21b0e..0000000 --- a/overlays/chrysalis/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -final: prev: { - chrysalis = let - pname = "chrysalis"; - version = "0.12.0"; - name = "${pname}-${version}-binary"; - in - prev.appimageTools.wrapAppImage rec { - inherit name; - - src = prev.appimageTools.extract { - inherit name; - src = prev.fetchurl { - url = "https://github.com/keyboardio/${pname}/releases/download/v${version}/${pname}-${version}.AppImage"; - sha256 = "sha256-sQoEO1UII4Gbp7UbHCCyejsd94lkBbi93TH325EamFc="; - }; - }; - - multiPkgs = null; - extraPkgs = p: - (prev.appimageTools.defaultFhsEnvArgs.multiPkgs p) - ++ [ - p.glib - ]; - - # Also expose the udev rules here, so it can be used as: - # services.udev.packages = [ pkgs.chrysalis ]; - # to allow non-root modifications to the keyboards. - - extraInstallCommands = '' - mv $out/bin/${name} $out/bin/${pname} - mkdir -p $out/lib/udev/rules.d - ln -s \ - --target-directory=$out/lib/udev/rules.d \ - ${src}/resources/static/udev/60-kaleidoscope.rules - ''; - }; -} diff --git a/overlays/default.nix b/overlays/default.nix index daf02d0..a11d035 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,3 @@ { - chrysalis = import ./chrysalis; hugin = import ./hugin; }