ma bam/kalauerbot: init
This commit is contained in:
parent
8ed22f337c
commit
67425ef501
17
makefu/2configs/bureautomation/kalauerbot.nix
Normal file
17
makefu/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 New Issue
Block a user