Compare commits
No commits in common. "56d578dea1a0d2461cda26f38a025dac4f0fb39f" and "66fe8c6fceebbae21444753f838d83977812095c" have entirely different histories.
56d578dea1
...
66fe8c6fce
|
@ -32,11 +32,6 @@
|
||||||
mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age;
|
mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age;
|
||||||
tailscale-key.file = ../../secrets/tailscale-key.age;
|
tailscale-key.file = ../../secrets/tailscale-key.age;
|
||||||
|
|
||||||
vaultwarden-env = {
|
|
||||||
file = ../../secrets/vaultwarden-env.age;
|
|
||||||
mode = "770";
|
|
||||||
};
|
|
||||||
|
|
||||||
n8n-env = {
|
n8n-env = {
|
||||||
file = ../../secrets/n8n-env.age;
|
file = ../../secrets/n8n-env.age;
|
||||||
mode = "770";
|
mode = "770";
|
||||||
|
|
|
@ -12,6 +12,5 @@
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./traefik.nix
|
./traefik.nix
|
||||||
./vaultwarden.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,8 +85,6 @@
|
||||||
minio-console.loadBalancer.servers =
|
minio-console.loadBalancer.servers =
|
||||||
[{ url = "http://localhost:9001/"; }];
|
[{ url = "http://localhost:9001/"; }];
|
||||||
metabase.loadBalancer.servers = [{ url = "http://localhost:3013/"; }];
|
metabase.loadBalancer.servers = [{ url = "http://localhost:3013/"; }];
|
||||||
vaultwarden.loadBalancer.servers =
|
|
||||||
[{ url = "http://localhost:3014/"; }];
|
|
||||||
};
|
};
|
||||||
routers = {
|
routers = {
|
||||||
api = {
|
api = {
|
||||||
|
@ -275,15 +273,6 @@
|
||||||
service = "metabase";
|
service = "metabase";
|
||||||
entrypoints = "websecure";
|
entrypoints = "websecure";
|
||||||
};
|
};
|
||||||
vaultwarden = {
|
|
||||||
rule = "Host(`vw.lanakk.com`)";
|
|
||||||
tls = {
|
|
||||||
certResolver = "godaddy";
|
|
||||||
domains = "vw.lanakk.com";
|
|
||||||
};
|
|
||||||
service = "metabase";
|
|
||||||
entrypoints = "websecure";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{ config, pkgs, ... }: {
|
|
||||||
|
|
||||||
services.vaultwarden = {
|
|
||||||
enable = true;
|
|
||||||
backupDir = "/var/backup/vaultwarden";
|
|
||||||
environmentFile = "${config.age.secrets.vaultwarden-env.path}";
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +1,5 @@
|
||||||
let
|
let
|
||||||
system =
|
system = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3YEmpYbM+cpmyD10tzNRHEn526Z3LJOzYpWEKdJg8DaYyPbDn9iyVX30Nja2SrW4Wadws0Y8DW+Urs25/wVB6mKl7jgPJVkMi5hfobu3XAz8gwSdjDzRSWJrhjynuaXiTtRYED2INbvjLuxx3X8coNwMw58OuUuw5kNJp5aS2qFmHEYQErQsGT4MNqESe3jvTP27Z5pSneBj45LmGK+RcaSnJe7hG+KRtjuhjI7RdzMeDCX73SfUsal+rHeuEw/mmjYmiIItXhFTDn8ZvVwpBKv7xsJG90DkaX2vaTk0wgJdMnpVIuIRBa4EkmMWOQ3bMLGkLQeK/4FUkNcvQ/4+zcZsg4cY9Q7Fj55DD41hAUdF6SYODtn5qMPsTCnJz44glHt/oseKXMSd556NIw2HOvihbJW7Rwl4OEjGaO/dF4nUw4c9tHWmMn9dLslAVpUuZOb7ykgP0jk79ldT3Dv+2Hj0CdAWT2cJAdFX58KQ9jUPT3tBnObSF1lGMI7t77VU=";
|
||||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3YEmpYbM+cpmyD10tzNRHEn526Z3LJOzYpWEKdJg8DaYyPbDn9iyVX30Nja2SrW4Wadws0Y8DW+Urs25/wVB6mKl7jgPJVkMi5hfobu3XAz8gwSdjDzRSWJrhjynuaXiTtRYED2INbvjLuxx3X8coNwMw58OuUuw5kNJp5aS2qFmHEYQErQsGT4MNqESe3jvTP27Z5pSneBj45LmGK+RcaSnJe7hG+KRtjuhjI7RdzMeDCX73SfUsal+rHeuEw/mmjYmiIItXhFTDn8ZvVwpBKv7xsJG90DkaX2vaTk0wgJdMnpVIuIRBa4EkmMWOQ3bMLGkLQeK/4FUkNcvQ/4+zcZsg4cY9Q7Fj55DD41hAUdF6SYODtn5qMPsTCnJz44glHt/oseKXMSd556NIw2HOvihbJW7Rwl4OEjGaO/dF4nUw4c9tHWmMn9dLslAVpUuZOb7ykgP0jk79ldT3Dv+2Hj0CdAWT2cJAdFX58KQ9jUPT3tBnObSF1lGMI7t77VU=";
|
|
||||||
in {
|
in {
|
||||||
"mj-smtp-user.age".publicKeys = [ system ];
|
"mj-smtp-user.age".publicKeys = [ system ];
|
||||||
"mj-smtp-pass.age".publicKeys = [ system ];
|
"mj-smtp-pass.age".publicKeys = [ system ];
|
||||||
|
@ -23,6 +22,4 @@ in {
|
||||||
"traefik-env.age".publicKeys = [ system ];
|
"traefik-env.age".publicKeys = [ system ];
|
||||||
|
|
||||||
"minio-system-cred.age".publicKeys = [ system ];
|
"minio-system-cred.age".publicKeys = [ system ];
|
||||||
|
|
||||||
"vaultwarden-env.age".publicKeys = [ system ];
|
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue