Cleaned up darwin from noise; Moved overlays too a shared module

This commit is contained in:
2026-06-06 21:04:49 +02:00
parent 9f2dc8314a
commit 7a25ac669f
12 changed files with 112 additions and 154 deletions
+25
View File
@@ -0,0 +1,25 @@
{
vaultwarden,
rustPlatform,
fetchFromGitHub,
...
}:
let
src = fetchFromGitHub {
owner = "Timshel";
repo = "OIDCWarden";
rev = "48edfc7ba54372074befa1d62c63c4babfaadc77";
hash = "sha256-tHacn9RtoByWpqnWX2/gWwODDSeXJa4mk4MfxHiiJ8A=";
};
in
vaultwarden.overrideAttrs (old: {
pname = "oidcwarden";
inherit src;
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-eGsYNaLYRCrTRaoyfhxnoeA2ytYeyGGvHnAbpEIayzs=";
};
postInstall = (old.postInstall or "") + ''
mv $out/bin/oidcwarden $out/bin/vaultwarden
'';
})