summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-24 09:40:35 +0200
committerSilas Schöffel <sils@sils.li>2024-04-24 09:40:35 +0200
commit1f461e48e92cf815ac26f89cc80a1b123128928c (patch)
treec2e8df2a1d14e1e0bea59fe988d001e2a2f61dbb /system
parentfix(system/services/taskserver): Add required kernel settings (diff)
downloadnixos-server-1f461e48e92cf815ac26f89cc80a1b123128928c.tar.gz
nixos-server-1f461e48e92cf815ac26f89cc80a1b123128928c.zip
fix(treewide): move former git-crypted files to correct location
They were accidentally added at the wrong location in dd4b6bcfc16c7c795b697195eb6703966352d9f4
Diffstat (limited to 'system')
-rw-r--r--system/services/mail/users.nix48
-rw-r--r--system/services/nginx/hosts.nix12
-rw-r--r--system/services/taskserver/organisations.nix14
3 files changed, 74 insertions, 0 deletions
diff --git a/system/services/mail/users.nix b/system/services/mail/users.nix
new file mode 100644
index 0000000..eb9c714
--- /dev/null
+++ b/system/services/mail/users.nix
@@ -0,0 +1,48 @@
+{...}: {
+  domains = [
+    "vhack.eu"
+
+    "s-schoeffel.de"
+    "b-peetz.de"
+
+    "sils.li"
+    "nightingale.sils.li"
+    "sils.sils.li"
+  ];
+
+  loginAccounts = {
+    "sils@vhack.eu" = {
+      hashedPassword = "$2b$05$RW/Svgk7iGxvP5W7ZwUZ1e.a3fj4fteevb2MtfFYYD0d1DQ17y9Fm";
+    };
+    "soispha@vhack.eu" = {
+      hashedPassword = "$2b$05$XX36sJuHNbTFvi8DFldscOeQBHahluSkiUqD9QGzQaET7NJusSuQW";
+    };
+
+    "benedikt.peetz@b-peetz.de" = {
+      hashedPassword = "$2b$05$MfET8utot2OolPZNASqoDe4VXNoG2chnEWhdfQ2E92mit0TvI2gBy";
+      aliases = ["@b-peetz.de"];
+    };
+    "silas.schoeffel@s-schoeffel.de" = {
+      hashedPassword = "$2b$05$Qb8rl7ncpCcTbsSdsduJBuOITp8RTD6sfOTjuxJsVtD9vjAYY9n8e";
+      aliases = ["@s-schoeffel.de"];
+    };
+
+    "nightingale@vhack.eu" = {
+      hashedPassword = "$2b$05$nDKVVq1EktKXWqGFhnOLP.plLovXFyvWSuptK9GIkxA5DScKFx6YS";
+      aliases = [
+        "@nightingale.sils.li"
+      ];
+    };
+    "sils@sils.li" = {
+      hashedPassword = "$2b$05$Ebzh2ZhuWkz1p4tqJ172IejNZg10FtCxPDY4k6umYrpirXg7ezIRq";
+      aliases = [
+        "@sils.sils.li"
+        "@sils.li"
+      ];
+    };
+    # Mail-Account used by hosted software
+    "mastodon@vhack.eu" = {
+      hashedPassword = "$2b$05$pSby3x2p3cHg0FyAE8IiJ.nYUqtAIR10JA8HNpHwMAiLXqc.ltSK.";
+    };
+  };
+}
diff --git a/system/services/nginx/hosts.nix b/system/services/nginx/hosts.nix
new file mode 100644
index 0000000..5d27af7
--- /dev/null
+++ b/system/services/nginx/hosts.nix
@@ -0,0 +1,12 @@
+{...}: [
+  {
+    domain = "vhack.eu";
+    root = "/etc/nginx/websites/vhack.eu";
+    url = "https://codeberg.org/vhack.eu/website.git";
+  }
+  {
+    domain = "b-peetz.de";
+    root = "/etc/nginx/websites/b-peetz.de";
+    url = "https://codeberg.org/bpeetz/b-peetz.de.git";
+  }
+]
diff --git a/system/services/taskserver/organisations.nix b/system/services/taskserver/organisations.nix
new file mode 100644
index 0000000..c3ad966
--- /dev/null
+++ b/system/services/taskserver/organisations.nix
@@ -0,0 +1,14 @@
+{
+  vhack = {
+    users = [
+      "soispha"
+    ];
+  };
+  soispha = {
+    users = [
+      "soispha"
+      "android-mobile"
+      "android-tab"
+    ];
+  };
+}