1
0
Fork 0
pvv-nixos-config/hosts/bicep/services/jackson.nix

16 lines
371 B
Nix
Raw Permalink Normal View History

2023-04-23 05:12:47 +02:00
{ pkgs, config, secrets, inputs, ... }:
let
jackson = pkgs.callPackage ../../../pkgs/jackson { };
in {
systemd.services.jackson = {
description = "Jackson";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
ExecStart = "${jackson}/bin/jackson";
DynamicUser = true;
Restart = "always";
};
};
}