Skip to content

Commit

Permalink
etna: add vaultwarden
Browse files Browse the repository at this point in the history
  • Loading branch information
uku3lig committed Feb 3, 2024
1 parent a187227 commit ac8639c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions systems/etna/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,25 @@
environmentFile = config.age.secrets.ukubotRsEnv.path;
};

vaultwarden = {
enable = true;
config = {
DOMAIN = "https://bw.uku3lig.net";
SIGNUPS_ALLOWED = false;

ROCKET_ADDRESS = "::1";
ROCKET_PORT = 8222;
};
};

cloudflared = {
enable = true;
tunnels."57f51ad7-25a0-45f3-b113-0b6ae0b2c3e5" = {
credentialsFile = config.age.secrets.tunnelCreds.path;

ingress = {
"api.uku3lig.net" = "http://localhost:5000";
"bw.uku3lig.net" = "http://localhost:8222";
};

default = "http_status:404";
Expand Down

0 comments on commit ac8639c

Please sign in to comment.