This commit is contained in:
m3tam3re 2023-04-13 11:23:10 +02:00
parent 74c85961df
commit e9c395fbcc
7 changed files with 24 additions and 26 deletions

View File

@ -32,8 +32,8 @@
mj-smtp-user.file = ../../secrets/mj-smtp-user.age; mj-smtp-user.file = ../../secrets/mj-smtp-user.age;
mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age; mj-smtp-pass.file = ../../secrets/mj-smtp-pass.age;
billbee-api-key = { n8n-env = {
file = ../../secrets/billbee-api-key.age; file = ../../secrets/n8n-env.age;
mode = "770"; mode = "770";
}; };

View File

@ -1,6 +1,6 @@
{ config, outputs, ... }: { { config, outputs, ... }: {
virtualisation.oci-containers.containers."wireguard" = { virtualisation.oci-containers.containers."wireguard" = {
image = "weejewel/wg-easy"; image = "docker.io/weejewel/wg-easy";
environment = { WG_HOST = "wg.lanakk.com"; WG_DEFAULT_DNS = "10.88.0.1"; }; environment = { WG_HOST = "wg.lanakk.com"; WG_DEFAULT_DNS = "10.88.0.1"; };
ports = [ "3007:51821/tcp" "51820:51820/udp" ]; ports = [ "3007:51821/tcp" "51820:51820/udp" ];
volumes = [ "wireguard_data:/etc/wireguard" ]; volumes = [ "wireguard_data:/etc/wireguard" ];

View File

@ -8,11 +8,7 @@
host = "https://wf.lanakk.com"; host = "https://wf.lanakk.com";
}; };
}; };
systemd.services.n8n.environment = { systemd.services.n8n.serviceConfig = {
BILLBEE_API_KEY = EnvironmentFile = "${config.age.secrets.n8n-env.path}";
config.age.secrets.billbee-api-key.path; # TODO env file for systemd service
};
systemd.services.traefik.serviceConfig = {
EnvironmentFile = "${config.age.secrets.traefik-env.path}";
}; };
} }

View File

@ -4,7 +4,7 @@ in {
"mj-smtp-user.age".publicKeys = [ root ]; "mj-smtp-user.age".publicKeys = [ root ];
"mj-smtp-pass.age".publicKeys = [ root ]; "mj-smtp-pass.age".publicKeys = [ root ];
"billbee-api-key.age".publicKeys = [ root ]; "n8n-env.age".publicKeys = [ root ];
"godaddy-api-key.age".publicKeys = [ root ]; "godaddy-api-key.age".publicKeys = [ root ];
"godaddy-api-secret.age".publicKeys = [ root ]; "godaddy-api-secret.age".publicKeys = [ root ];

View File

@ -1,16 +0,0 @@
age-encryption.org/v1
-> ssh-rsa DQlE7w
OtpKyKFBd86zVAvGIZuBYZuKO3y79nq9Ak6h08j8f8xPSwXtEtcAJBfgBXQCYdV2
Z+pY7rMpKx/0rx+nG4/Axl2WwuCIhYrB4ypNxYOAdtrgBGdGQueQfZAcq5aV1aRt
KZF1dlcxy3P8CYpodmLZQW+djjGtoDQDIjlNpf/1WPjKEF86Dd+3ihnnGFzIHib5
9hxIc7iwIEVp6atEoqd9I/Cp/kpwUksAhuX906l0vIvCz1YyuW0oWugGa4uN1ruK
cfCcv4iWqZb/dJg0m/tUH6xXC/njjFs4xh3kauomtYf+PkJ66BK0BfAJenIGwHsm
/t5sI9TzumMm3lfJMjjxqRUfI9Etp9VSe5OcAbeNZkAk84JmU1vddyQ9cQKmJ4il
TUtdRHAYqh1HKdihY0Kf3p/Cua7zNu0PRDRF52zUP06wZ9LLMBokeD6lOVsh5sWb
PcpRQgZxEbgbkSi7XEncSHUWuyhtfRMie3jaFfaNb/Eq1J+U1puHaahG2RboubNl
-> *#,oB|-grease q:S"z3 $yJt<Ihx dX S^C[i
QwYCVTkVaOPWgAdaB4lT+On0G5iSIth64mvqOukhpd1pfJEqbErK2shdLAgeGqnV
LcGBGnBHTeZxkLK0dUojZU4EowyATgg7Xza/bog
--- SY/yTo1kwFsPe35ej/YJa2D+OADxOlzE5zSO7MD/ges
ÝÝ/u$g,çÆy¶Yª­~Ò¢öÅ9ì÷ÒÇ|]5ˆ%¼ž Ô<>²¸VKºmGš”.kòQ¬w ÙªÕp_Çù“P

18
secrets/n8n-env.age Normal file
View File

@ -0,0 +1,18 @@
age-encryption.org/v1
-> ssh-rsa DQlE7w
t0gnPZusAoWuLSVDl/7PAsFiQBvFfWJNloOIW2OrpzMP86PMzw9N4tSp4z2jaK0j
BMp3lyqVSy94iqxelTVv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