mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 21:35:37 +00:00
add vaultwarden, not activated
This commit is contained in:
parent
0637cc693b
commit
4044721606
24
modules/services/vaultwarden.nix
Normal file
24
modules/services/vaultwarden.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user