Vaultwarden added
This commit is contained in:
parent
3e0ee3d933
commit
5078ac7952
2 changed files with 47 additions and 13 deletions
|
@ -16,6 +16,7 @@
|
|||
../../moduler/users.nix
|
||||
../../moduler/nginx.nix
|
||||
../../moduler/k3s.nix
|
||||
../../moduler/vaultwarden.nix
|
||||
#../../moduler/lsp.nix
|
||||
];
|
||||
|
||||
|
@ -27,19 +28,6 @@ neovim
|
|||
|
||||
services.tailscale.enable = true;
|
||||
services.tailscale.package = pkgs.unstable.tailscale;
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
dbBackend = "sqlite";
|
||||
environmentFile = "/var/lib/vaultwarden.env";
|
||||
config = {
|
||||
ROCKET_ADDRESS = "127.0.0.1";
|
||||
ROCKET_PORT = 8222;
|
||||
DOMAIN = "https://vault.example.org";
|
||||
SIGNUPS_ALLOWED = true;
|
||||
ADMIN_TOKEN = "$argon2id$v=19$m=65540,t=3,p=4$...";
|
||||
LOG_FILE = "/var/lib/bitwarden_rs/access.log";
|
||||
};
|
||||
};
|
||||
|
||||
networking.hostName = myhostname;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue