Compare commits
3 Commits
9982a4d710
...
a2deec6dfb
Author | SHA1 | Date | |
---|---|---|---|
a2deec6dfb | |||
bf0a8a31c3 | |||
b60824e796 |
@ -1,9 +1,14 @@
|
|||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
age.secrets.xmpp-password = {
|
||||||
|
owner = "solid-xmpp-alarm";
|
||||||
|
group = "solid-xmpp-alarm";
|
||||||
|
};
|
||||||
|
|
||||||
services.solid-xmpp-alarm = {
|
services.solid-xmpp-alarm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
jid = "feuer@fem-net.de";
|
jid = "feuer@fem-net.de";
|
||||||
passwordFile = "/var/src/secrets/xmpp-alert/password";
|
passwordFile = config.age.secrets.xmpp-password.path;
|
||||||
receiver = "clerie@fem-net.de";
|
receiver = "clerie@fem-net.de";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
BIN
hosts/monitoring-3/secrets/xmpp-password.age
Normal file
BIN
hosts/monitoring-3/secrets/xmpp-password.age
Normal file
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ in {
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
alias = "/data/mixcloud/";
|
alias = "/data/mixcloud/";
|
||||||
basicAuthFile = "/var/src/secrets/nginx/mixcloud.htpasswd";
|
basicAuthFile = config.age.secrets.mixcloud-htpasswd.path;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
@ -60,7 +60,7 @@ in {
|
|||||||
};
|
};
|
||||||
locations."/media/" = {
|
locations."/media/" = {
|
||||||
alias = "/data/media/";
|
alias = "/data/media/";
|
||||||
basicAuthFile = "/var/src/secrets/nginx/mixcloud.htpasswd";
|
basicAuthFile = config.age.secrets.mixcloud-htpasswd.path;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
|
10
hosts/storage-2/secrets/mixcloud-htpasswd.age
Normal file
10
hosts/storage-2/secrets/mixcloud-htpasswd.age
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 HwR33w Q6P3HFyTE3FEsrjnBx3TWIdv16GYLdAmnTZE2W5uex4
|
||||||
|
A30r0PifK1ioVSgCTQen0gOlwKtbsAiD5YJPkQ98dIA
|
||||||
|
-> ssh-ed25519 pI7EWw pFiBE+L4RrpIdOZH7EFHtQ+pVXSDMCtGbewbGAKDlkk
|
||||||
|
5jicuCBcbH2Ob1jtoZrrm+jNNgw94Co3/A2tRrrNgxY
|
||||||
|
-> :7)u]4Em-grease Xe>q ~'eWf Vx;#t
|
||||||
|
fJtUbOaM0w5wrhpUl3dvjZ9BXimgrjK5eYs3g358AIEs/+BbuuR4ogCZsLyv9bXd
|
||||||
|
smyFqW2xoxiANWGWWGY
|
||||||
|
--- ba8304R6wM3M05dDRmIwZkwgrLUzwlrSGU3cGTpi00w
|
||||||
|
~Hî±aÒHgÇÀcÞ¬|<05>vðÔ|Js-β}Áš„€VF¤ÄÙLï”»tme%ûrqxCñöÝõ;Ò’âÀÆÖ‹7è
|
@ -1,6 +1,11 @@
|
|||||||
{ ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
age.secrets.radicale-htpasswd = {
|
||||||
|
owner = "radicale";
|
||||||
|
group = "radicale";
|
||||||
|
};
|
||||||
|
|
||||||
services.radicale = {
|
services.radicale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -9,7 +14,7 @@
|
|||||||
};
|
};
|
||||||
auth = {
|
auth = {
|
||||||
type = "htpasswd";
|
type = "htpasswd";
|
||||||
htpasswd_filename = "/var/src/secrets/radicale/htpasswd";
|
htpasswd_filename = config.age.secrets.radicale-htpasswd.path;
|
||||||
htpasswd_encryption = "bcrypt";
|
htpasswd_encryption = "bcrypt";
|
||||||
};
|
};
|
||||||
storage = {
|
storage = {
|
||||||
|
11
hosts/web-2/secrets/radicale-htpasswd.age
Normal file
11
hosts/web-2/secrets/radicale-htpasswd.age
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 HwR33w +w13fgMLBeHKig0VX67/mlhQb0EPSJAFTu//velYNRY
|
||||||
|
irMedsePNfFFOYhKksrqLcLdNdYHMxFy4iTPneIOtWU
|
||||||
|
-> ssh-ed25519 1nn+0Q KpFGP/y4zZ8E8Jut8Gpea1DLH6rXGKODLE3IPTbzOUo
|
||||||
|
p28M4shr97sqqTBAxB1fQRNCj2E+xio3TboKZ/6smb8
|
||||||
|
-> rXRB4)-grease
|
||||||
|
t3CdM1EbN2yfSeKURCJRMTZ4w9FtXu6+Y8PWxo2RTV0fyv6XJdrq1jn1n4IflQLP
|
||||||
|
CV3H9FlQp4Lg/bdqVZDqDoMJ6dprVWK4rACnF6/tRRkZR4Ndfk4JRRWtWBOfR/ax
|
||||||
|
GWNb
|
||||||
|
--- yNRoOEai4ypvo0uGZYI1q/qwzS4wIZFXQEGYcW+H/wc
|
||||||
|
Ñî ³Z¼ÿ<C2BC>·îe0±<30>ä_îÀD@äΕÃ>¸[ñKOQBuP÷9TGgŽ×(€9´pœŒZ@1†&RZÁOŸªC›p$kr¿ô®¤èò‘’lg!\‹«„—èÑÄ=W׃×(ìVq
|
Loading…
Reference in New Issue
Block a user