began setting up vaultwrden

This commit is contained in:
Clara Dautermann 2025-03-20 20:33:52 +01:00
parent 7323a2256b
commit bdecca5d15
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{ lib, pkgs, config, ... }:
let port = 8080;
in
{
services.vaultwarden = {
enable = true;
config = {
WEBSOCKET_ENABLED = true; # Enable WebSocket notifications.
SIGNUP_ALLOWED = false;
ROCKET_ADDRESS = "192.168.178.51";
DOMAIN = "http://192.168.178.51";
ROCKET_PORT = port;
ADMIN_TOKEN =
};
};
networking.firewall.allowedTCPPorts = [ port ];
}