Added Overlays for gs1200 exporter and oicwarden

This commit is contained in:
2026-05-19 20:10:53 +02:00
parent 5ae6b29e15
commit d23d7dc79e
8 changed files with 50 additions and 35 deletions
+15 -4
View File
@@ -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