1
0

Compare commits

...

3 Commits

6 changed files with 38 additions and 7 deletions

View File

@ -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";
}; };

Binary file not shown.

View File

@ -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;

View 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è

View File

@ -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 = {

View 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ŸªCp$kr¿ô®¤èòlg!\‹«„—èÑÄ=W׃×Vq