From 414d80d10520cef53b84ab81d65b75998a278b4a Mon Sep 17 00:00:00 2001 From: ibizaman Date: Fri, 30 Dec 2022 01:44:55 -0800 Subject: [PATCH] use vaultwarden variables for user and group --- all-packages.nix | 1 + vaultwarden/default.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 vaultwarden/default.nix diff --git a/all-packages.nix b/all-packages.nix index ffdf34a..5d49c6f 100644 --- a/all-packages.nix +++ b/all-packages.nix @@ -61,6 +61,7 @@ let mkVaultwardenWeb = callPackage ./vaultwarden/web.nix {inherit utils;}; mkVaultwardenService = callPackage ./vaultwarden/unit.nix {inherit utils;}; + vaultwarden = callPackage ./vaultwarden {inherit utils;}; }; in self diff --git a/vaultwarden/default.nix b/vaultwarden/default.nix new file mode 100644 index 0000000..933284e --- /dev/null +++ b/vaultwarden/default.nix @@ -0,0 +1,9 @@ +{ pkgs +, utils +}: +{ user ? "vaultwarden" +, group ? "vaultwarden" +}: +{ + inherit user group; +} \ No newline at end of file