bam/ha-ara-menu:init

This commit is contained in:
makefu 2023-07-13 00:00:31 +02:00
parent 8b78d1e194
commit 7331903a66
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -0,0 +1,17 @@
{pkgs,ha-ara-menu, ... }:
let
pkg = ha-ara-menu.packages.default;
in {
systemd.services.ha-ara-menu = {
after = [ "mosquitto.service" ];
description = "ha-ara-menu";
wantedBy = [ "multi-user.target" ];
environment = {
};
serviceConfig = {
ExecStart = "${pkg}/bin/ha-ara-menu";
DynamicUser = true;
Restart = "always";
};
};
}