From c63b9d88cd94e00ec03ac3878a39fcf30980e008 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 25 Feb 2024 12:18:24 +0300 Subject: chore(tazjin/nixos): remove monica setup 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 Autosubmit: tazjin --- users/tazjin/nixos/koptevo/default.nix | 1 - users/tazjin/nixos/modules/monica.nix | 26 -------------------------- users/tazjin/secrets/monica-appkey.age | 18 ------------------ users/tazjin/secrets/secrets.nix | 1 - 4 files changed, 46 deletions(-) delete mode 100644 users/tazjin/nixos/modules/monica.nix delete mode 100644 users/tazjin/secrets/monica-appkey.age (limited to 'users') 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; - }; - }; -} diff --git a/users/tazjin/secrets/monica-appkey.age b/users/tazjin/secrets/monica-appkey.age deleted file mode 100644 index 3e780992084e..000000000000 --- a/users/tazjin/secrets/monica-appkey.age +++ /dev/null @@ -1,18 +0,0 @@ -age-encryption.org/v1 --> ssh-ed25519 dcsaLw yLnCy26vP2A+ucjxVbIhwsw75P4HS9wZhoyJw0MooBI -caQrANNnBIfZGNhfqldLAjfTbREIql8qbeSdjvYmbi4 --> ssh-ed25519 zcCuhA j4nZ2l0Az53JcomeIiUAYCgsRnFDCRO1soTln2SpAAk -L62nxJ1fjvqmbEU1UUkVSj40Y4bqtAbITrs3MwXLjnk --> ssh-rsa zXi7VA -qp+lMhbup3yGVLU1qX5AJipZfQr4/5YcaOkSx9/nwyok0lGP9SeVtqUSnHSmbW+0 -xVAq/cE0LQaT6Yrcs3cXj5GRbxxM2zqJm06zSMvss0MOyXgNyymETFyQxed/O1Bx -hW2sGpMbM3k4hHGtuzK9/1CWsf/4RoIp72vvvsTcTrE7dYiSAoxajUP9QjHBypAh -ZKnWGCAwxhJpL17pyIAVIROciyHXiiPZXxKNr+IjBRcNYD64teTSNal/2kPSJkVn -xqndMW/EqA8ppMRX73VqYRxrJlqPG4MOMrb/FHthGHeYcExZfFo8++psyE2M0zDh -SDiL1Yzc9k+z0Hyi2Amwqw --> ssh-ed25519 At5Mag 6deiVBNvCr9UdexUONnjyVVv1muIx3hOoAvhmBGLyEk -4Bxv5kESIMXiLNvNed7RcNA55qpAhyrnXgKTNo7orlA --> }@h-grease -KOK4zfG7sUkTkn95+o1Ml4NZRPTEHWcemFBs9JhlUc0JlvNJFBLl ---- K+wQwIKEo8pnpZNsWghX/xU85PM7W2YvHvIPd8MNNlE -e-$W9Un܅n_ȯWXbx5v|OD ݣ/. @}^ eKm\ \ No newline at end of file diff --git a/users/tazjin/secrets/secrets.nix b/users/tazjin/secrets/secrets.nix index f1edc674765a..0b7c2c2cf19c 100644 --- a/users/tazjin/secrets/secrets.nix +++ b/users/tazjin/secrets/secrets.nix @@ -11,6 +11,5 @@ let in { "tgsa-yandex.age".publicKeys = allKeys; - "monica-appkey.age".publicKeys = allKeys; "geesefs-tazjins-files.age".publicKeys = allKeys; } -- cgit 1.4.1