secrets: reorganise environment files

This commit is contained in:
Michele Guerini Rocco 2021-09-29 17:20:23 +02:00
parent b428b6cde6
commit 69ecfd613a
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450
11 changed files with 82 additions and 78 deletions

View File

@ -211,11 +211,12 @@
### Mumble server
services.murmur = {
enable = true;
password = "allwellthatmaxwell";
registerHostname = config.var.hostname;
registerName = "Maxwell Mumble";
registerPassword = config.secrets.murmur.password;
registerPassword = "$REG_PASSWORD";
password = "$JOIN_PASSWORD";
users = 10;
environmentFile = config.secrets.environments.murmur;
extraConfig = with config.var; ''
sslCert=/var/lib/acme/${hostname}/fullchain.pem
sslKey=/var/lib/acme/${hostname}/key.pem
@ -277,7 +278,7 @@
### Searx instance
services.searx = {
enable = true;
environmentFile = config.secrets.searx.environment;
environmentFile = config.secrets.environments.searx;
# Use nginx+uWSGI
runInUwsgi = true;

View File

@ -75,7 +75,7 @@ in {
Restart = "always";
WorkingDirectory = "${cfg.dataDir}/tree";
# API keys and passwords definitions
EnvironmentFile = config.secrets.asjon.environment;
EnvironmentFile = config.secrets.environments.asjon;
};
};

View File

@ -10,7 +10,7 @@ systemd.services.ydns = {
startAt = "*:0/30";
serviceConfig.Type = "oneshot";
serviceConfig.environmentFile = config.secrets.ydns.environment;
serviceConfig.environmentFile = config.secrets.environments.ydns;
path = with pkgs; [ curl cacert gawk iproute ];
environment = {

View File

@ -1,56 +1,56 @@
U2FsdGVkX1+DiD6z7MsrFVFstFwr+CGVeRb33VySjKW27vef0uWZL+iVSp9lXO3j
P/88dTkypnb/8GS0jj/nF/D6VThe3b+S2weY80UZTaUV1kd6bft0xzGXzsbN6bES
xu/70H1pUN6EbpYi6spum8FpdOMTmKTZvUnOsF6Q1BlhxkmasHiXbQb+pdkVZGFF
FmkA11I/cJ2TE+fZ/pd0XfFLibqvexRwXocs+jC5YtSmn45S2hLzOauGmz0DHa5F
NnSWBrezDI6QezejcRI+WHs0BMZutTKFtCD8fsv9pSihmVUUFw6PVBtpwh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