mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-30 01:55:02 +00:00
add vaultwarden, not activated
This commit is contained in:
1 parent
0637cc693b
commit
4044721606
1 file changed
+24
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user