summaryrefslogtreecommitdiff
path: root/nix/modules/secrets.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-02-16 23:13:47 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-02-16 23:13:47 -0800
commit06198567765055febc8829f9f2ca398dd6817d93 (patch)
tree8553f885ae27fc7f64dc3655802dc3c129416f99 /nix/modules/secrets.nix
parentefe21725f8d68a6be6fb3c4697c88666d11b13a8 (diff)
finish up most of the sysadmin work
Diffstat (limited to 'nix/modules/secrets.nix')
-rw-r--r--nix/modules/secrets.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nix/modules/secrets.nix b/nix/modules/secrets.nix
index f7deb5d..1a09652 100644
--- a/nix/modules/secrets.nix
+++ b/nix/modules/secrets.nix
@@ -7,6 +7,15 @@
templates = if config.monorepo.profiles.server.enable then {
+ "public-inbox-netrc" = {
+ owner = "public-inbox";
+ group = "public-inbox";
+ mode = "0400";
+ content = ''
+machine mail.${config.monorepo.vars.orgHost} login monorepo@${config.monorepo.vars.orgHost} password ${config.sops.placeholder."mail_monorepo_password_pi"}
+machine mail.${config.monorepo.vars.orgHost} login discussion@${config.monorepo.vars.orgHost} password ${config.sops.placeholder."mail_monorepo_password_pi"}
+ '';
+ };
"matterbridge" = {
owner = "matterbridge";
content = ''
@@ -91,6 +100,17 @@ channel="-5290629325"
format = "yaml";
owner = "maddy";
};
+
+ mail_monorepo_password = {
+ format = "yaml";
+ owner = "maddy";
+ };
+
+ mail_monorepo_password_pi = {
+ format = "yaml";
+ owner = "public-inbox";
+ };
+
conduit_secrets = {
format = "yaml";
};
@@ -103,6 +123,10 @@ channel="-5290629325"
discord_token = {
format = "yaml";
};
+ mpd_password = {
+ format = "yaml";
+ owner = "nginx";
+ };
ntfy = {
format = "yaml";
owner = "ntfy-sh";