ma bam/kalauerbot: init
This commit is contained in:
parent
3d1ea50ee3
commit
8c72529821
17
2configs/bureautomation/kalauerbot.nix
Normal file
17
2configs/bureautomation/kalauerbot.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue