modularize Drone config
This commit is contained in:
parent
482f9afc57
commit
fd1f4fc206
8 changed files with 205 additions and 172 deletions
14
modules/nixos/homeserver/vaultwarden.nix
Normal file
14
modules/nixos/homeserver/vaultwarden.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
backupDir = "/var/backups/vaultwarden";
|
||||
config = {
|
||||
DOMAIN = "https://drone.taild5f7e6.ts.net";
|
||||
|
||||
SIGNUPS_ALLOWED = false;
|
||||
};
|
||||
environmentFile = config.sops.secrets."vaultwarden/secrets.env".path;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue