diff --git a/2configs/bam/ha-ara-menu.nix b/2configs/bam/ha-ara-menu.nix new file mode 100644 index 0000000..077c6e3 --- /dev/null +++ b/2configs/bam/ha-ara-menu.nix @@ -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"; + }; + }; +}