summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-28 22:29:10 +0100
committerSoispha <soispha@vhack.eu>2024-03-29 22:55:40 +0100
commitdd4b6bcfc16c7c795b697195eb6703966352d9f4 (patch)
tree3519248c1eebe071fcfeb142b493a2e1c4a2db98
parentchore(git-crypt): Remove `git-crypt` and associated encrypted files (diff)
downloadnixos-server-dd4b6bcfc16c7c795b697195eb6703966352d9f4.tar.gz
nixos-server-dd4b6bcfc16c7c795b697195eb6703966352d9f4.zip
chore(git-crypt): Re-add previously encrypted files in decrypted form
-rw-r--r--services/mail/users.nix48
-rw-r--r--services/nginx/hosts.nix12
-rw-r--r--services/taskserver/organisations.nix14
3 files changed, 74 insertions, 0 deletions
diff --git a/services/mail/users.nix b/services/mail/users.nix
new file mode 100644
index 0000000..eb9c714
--- /dev/null
+++ b/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/services/nginx/hosts.nix b/services/nginx/hosts.nix
new file mode 100644
index 0000000..5d27af7
--- /dev/null
+++ b/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/services/taskserver/organisations.nix b/services/taskserver/organisations.nix
new file mode 100644
index 0000000..c3ad966
--- /dev/null
+++ b/services/taskserver/organisations.nix
@@ -0,0 +1,14 @@
+{
+  vhack = {
+    users = [
+      "soispha"
+    ];
+  };
+  soispha = {
+    users = [
+      "soispha"
+      "android-mobile"
+      "android-tab"
+    ];
+  };
+}