Compare commits
2 Commits
66fe8c6fce
...
56d578dea1
Author | SHA1 | Date |
---|---|---|
m3tam3re | 56d578dea1 | |
m3tam3re | 58f52d3ecb |
|
@ -32,6 +32,11 @@
|
|||
mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age;
|
||||
tailscale-key.file = ../../secrets/tailscale-key.age;
|
||||
|
||||
vaultwarden-env = {
|
||||
file = ../../secrets/vaultwarden-env.age;
|
||||
mode = "770";
|
||||
};
|
||||
|
||||
n8n-env = {
|
||||
file = ../../secrets/n8n-env.age;
|
||||
mode = "770";
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
./syncthing.nix
|
||||
./tailscale.nix
|
||||
./traefik.nix
|
||||
./vaultwarden.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -85,6 +85,8 @@
|
|||
minio-console.loadBalancer.servers =
|
||||
[{ url = "http://localhost:9001/"; }];
|
||||
metabase.loadBalancer.servers = [{ url = "http://localhost:3013/"; }];
|
||||
vaultwarden.loadBalancer.servers =
|
||||
[{ url = "http://localhost:3014/"; }];
|
||||
};
|
||||
routers = {
|
||||
api = {
|
||||
|
@ -273,6 +275,15 @@
|
|||
service = "metabase";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
vaultwarden = {
|
||||
rule = "Host(`vw.lanakk.com`)";
|
||||
tls = {
|
||||
certResolver = "godaddy";
|
||||
domains = "vw.lanakk.com";
|
||||
};
|
||||
service = "metabase";
|
||||
entrypoints = "websecure";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, ... }: {
|
||||
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
backupDir = "/var/backup/vaultwarden";
|
||||
environmentFile = "${config.age.secrets.vaultwarden-env.path}";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
let
|
||||
system = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3YEmpYbM+cpmyD10tzNRHE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
"mj-smtp-user.age".publicKeys = [ system ];
|
||||
"mj-smtp-pass.age".publicKeys = [ system ];
|
||||
|
@ -22,4 +23,6 @@ in {
|
|||
"traefik-env.age".publicKeys = [ system ];
|
||||
|
||||
"minio-system-cred.age".publicKeys = [ system ];
|
||||
|
||||
"vaultwarden-env.age".publicKeys = [ system ];
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue