From 7807c9b81766969cda11ed541f79c6780e0050a6 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Fri, 29 Sep 2023 12:00:47 +0200 Subject: [PATCH] add strongbox --- hosts/steamdeck.cloonar.com/configuration.nix | 2 +- utils/overlays/packages.nix | 1 + utils/pkgs/strongbox/default.nix | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 utils/pkgs/strongbox/default.nix diff --git a/hosts/steamdeck.cloonar.com/configuration.nix b/hosts/steamdeck.cloonar.com/configuration.nix index d3233eb..dc3eb6f 100644 --- a/hosts/steamdeck.cloonar.com/configuration.nix +++ b/hosts/steamdeck.cloonar.com/configuration.nix @@ -85,7 +85,7 @@ packages = with pkgs; [ firefox ykfde - wow-addon-manager + strongbox # thunderbird ]; }; diff --git a/utils/overlays/packages.nix b/utils/overlays/packages.nix index 02d9b52..b408e60 100644 --- a/utils/overlays/packages.nix +++ b/utils/overlays/packages.nix @@ -2,6 +2,7 @@ self: super: { bento = (super.callPackage ../pkgs/bento { }); ykfde = (super.callPackage ../pkgs/ykfde { }); wow-addon-manager = (super.callPackage ../pkgs/wow-addon-manager { }); + strongbox = (super.callPackage ../pkgs/strongbox { }); howdy = (super.callPackage ../pkgs/howdy { }); linux-enable-ir-emitter = (super.callPackage ../pkgs/linux-enable-ir-emitter { }); } diff --git a/utils/pkgs/strongbox/default.nix b/utils/pkgs/strongbox/default.nix new file mode 100644 index 0000000..f53ede2 --- /dev/null +++ b/utils/pkgs/strongbox/default.nix @@ -0,0 +1,14 @@ +{ lib, stdenv, ... }: + +stdenv.mkDerivation { + name = "strongbox"; + + src = fetchurl { + url = "https://github.com/ogri-la/strongbox/releases/download/${version}/strongbox" + }; + + installPhase = '' + chmod +x strongbox + install -D --target $out/bin * + ''; +}