Added Overlays for gs1200 exporter and oicwarden
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
{ pkgs, oidcwarden-src, ... }:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
let
|
||||
src = fetchFromGitHub {
|
||||
owner = "Timshel";
|
||||
repo = "OIDCWarden";
|
||||
rev = "48edfc7ba54372074befa1d62c63c4babfaadc77";
|
||||
hash = "sha256-tHacn9RtoByWpqnWX2/gWwODDSeXJa4mk4MfxHiiJ8A=";
|
||||
};
|
||||
in
|
||||
pkgs.vaultwarden.overrideAttrs (old: {
|
||||
pname = "oidcwarden";
|
||||
src = oidcwarden-src;
|
||||
inherit src;
|
||||
cargoDeps = pkgs.rustPlatform.importCargoLock {
|
||||
lockFile = "${oidcwarden-src}/Cargo.lock";
|
||||
lockFile = "${src}/Cargo.lock";
|
||||
};
|
||||
postInstall = (old.postInstall or "") + ''
|
||||
mv $out/bin/oidcwarden $out/bin/vaultwarden
|
||||
|
||||
Reference in New Issue
Block a user