about summary refs log tree commit diff
path: root/users/tazjin/nixos
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-25T09·18+0300
committerclbot <clbot@tvl.fyi>2024-02-25T09·22+0000
commitc63b9d88cd94e00ec03ac3878a39fcf30980e008 (patch)
treef8a71c6969b002ea57b914fcd95d2a8a7026c980 /users/tazjin/nixos
parentd5ec9a0c6f568002532f2e126ab36a813df47b40 (diff)
chore(tazjin/nixos): remove monica setup r/7602
I never ended up actually using this for anything.

Change-Id: I2bd9a46f6284d8283453d34eab6134efc92ea684
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11023
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/nixos')
-rw-r--r--users/tazjin/nixos/koptevo/default.nix1
-rw-r--r--users/tazjin/nixos/modules/monica.nix26
2 files changed, 0 insertions, 27 deletions
diff --git a/users/tazjin/nixos/koptevo/default.nix b/users/tazjin/nixos/koptevo/default.nix
index c1ac3571fd64..e93c3c42005e 100644
--- a/users/tazjin/nixos/koptevo/default.nix
+++ b/users/tazjin/nixos/koptevo/default.nix
@@ -14,7 +14,6 @@ in
     (mod "www/tazj.in.nix")
     (usermod "airsonic.nix")
     (usermod "geesefs.nix")
-    (usermod "monica.nix")
     (usermod "predlozhnik.nix")
     (usermod "tgsa.nix")
     (depot.third_party.agenix.src + "/modules/age.nix")
diff --git a/users/tazjin/nixos/modules/monica.nix b/users/tazjin/nixos/modules/monica.nix
deleted file mode 100644
index 493bffb2f986..000000000000
--- a/users/tazjin/nixos/modules/monica.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-# Host the Monica personal CRM software.
-{ depot, config, ... }:
-
-{
-  imports = [
-    (depot.third_party.agenix.src + "/modules/age.nix")
-  ];
-
-  age.secrets.monica-appkey = {
-    group = config.services.monica.group;
-    file = depot.users.tazjin.secrets."monica-appkey.age";
-    mode = "0440";
-  };
-
-  services.monica = {
-    enable = true;
-    hostname = "monica.tazj.in";
-    appKeyFile = "/run/agenix/monica-appkey";
-    database.createLocally = true;
-
-    nginx = {
-      enableACME = true;
-      forceSSL = true;
-    };
-  };
-}