bam/ha-ara-menu:init
This commit is contained in:
parent
8b78d1e194
commit
7331903a66
17
2configs/bam/ha-ara-menu.nix
Normal file
17
2configs/bam/ha-ara-menu.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue