about summary refs log tree commit diff
path: root/ops/nixos/paroxysm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/paroxysm.nix')
-rw-r--r--ops/nixos/paroxysm.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/ops/nixos/paroxysm.nix b/ops/nixos/paroxysm.nix
deleted file mode 100644
index cd9cd3866e47..000000000000
--- a/ops/nixos/paroxysm.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ depot, config, lib, pkgs, ... }:
-
-let
-  cfg = config.services.depot.paroxysm;
-  description = "TVL's majestic IRC bot";
-in {
-  options.services.depot.paroxysm.enable = lib.mkEnableOption description;
-
-  config = lib.mkIf cfg.enable {
-    systemd.services.paroxysm = {
-      inherit description;
-      script = "${depot.fun.paroxysm}/bin/paroxysm";
-      wantedBy = [ "multi-user.target" ];
-
-      environment = {
-        PARX_DATABASE_URL = "postgresql://tvldb:tvldb@localhost/tvldb";
-        PARX_IRC_CONFIG_PATH = "/var/lib/paroxysm/irc.toml";
-      };
-
-      serviceConfig = {
-        DynamicUser = true;
-        StateDirectory = "paroxysm";
-        Restart = "always";
-      };
-    };
-  };
-}