add vaultwarden, not activated

This commit is contained in:
Noah Masur 2022-10-07 00:44:06 +00:00
parent 0637cc693b
commit 4044721606

View File

@ -0,0 +1,24 @@
{ config, pkgs, lib, ... }: {
options = {
vaultwardenServer = lib.mkOption {
description = "Hostname for Vaultwarden.";
type = lib.types.str;
};
};
config = {
services.vaultwarden = {
enable = true;
config = {
DOMAIN = config.vaultwardenServer;
SIGNUPS_ALLOWED = false;
};
environmentFile = null;
dbBackend = "sqlite";
};
};
}