summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-09-16 22:23:16 +0200
committermakefu <github@syntax-fehler.de>2020-09-16 22:23:16 +0200
commit67425ef5016de845f66f0943594e5bf3fc58f8d9 (patch)
tree57017327e204ffcdb551516880fe2091d3e49a32 /makefu/2configs
parent8ed22f337c76df2ad592650ece7abe1a414c4182 (diff)
ma bam/kalauerbot: init
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/bureautomation/kalauerbot.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/makefu/2configs/bureautomation/kalauerbot.nix b/makefu/2configs/bureautomation/kalauerbot.nix
new file mode 100644
index 000000000..d61b8885e
--- /dev/null
+++ b/makefu/2configs/bureautomation/kalauerbot.nix
@@ -0,0 +1,17 @@
+{ config, lib, pkgs, ... }:
+
+{
+ systemd.services.kalauerbot = {
+ description = "Kalauerbot";
+ after = [ "network-online.target" ];
+ wantedBy = [ "multi-user.target" ];
+ environment = import <secrets/bureautomation/citadel.nix>;
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = "kalauerbot";
+ WorkingDirectory = "/var/lib/kalauerbot";
+ ExecStart = "${pkgs.kalauerbot}/bin/kalauerbot";
+ PrivateTmp = true;
+ };
+ };
+}