ma bam/kalauerbot: init

This commit is contained in:
makefu 2020-09-16 22:23:16 +02:00
parent 3d1ea50ee3
commit 8c72529821

View file

@ -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;
};
};
}