use vaultwarden variables for user and group
This commit is contained in:
parent
1a09a916f4
commit
414d80d105
2 changed files with 10 additions and 0 deletions
|
@ -61,6 +61,7 @@ let
|
||||||
|
|
||||||
mkVaultwardenWeb = callPackage ./vaultwarden/web.nix {inherit utils;};
|
mkVaultwardenWeb = callPackage ./vaultwarden/web.nix {inherit utils;};
|
||||||
mkVaultwardenService = callPackage ./vaultwarden/unit.nix {inherit utils;};
|
mkVaultwardenService = callPackage ./vaultwarden/unit.nix {inherit utils;};
|
||||||
|
vaultwarden = callPackage ./vaultwarden {inherit utils;};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
self
|
self
|
||||||
|
|
9
vaultwarden/default.nix
Normal file
9
vaultwarden/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs
|
||||||
|
, utils
|
||||||
|
}:
|
||||||
|
{ user ? "vaultwarden"
|
||||||
|
, group ? "vaultwarden"
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
inherit user group;
|
||||||
|
}
|
Loading…
Reference in a new issue