nixos-config/config/services/chir-rs.nix

13 lines
331 B
Nix
Raw Normal View History

2022-01-17 19:53:47 +00:00
{ pkgs, ... } @ args: {
systemd.services.chirrs = {
enable = true;
description = builtins.trace args "chir.rs";
script = "${chir-rs}/chir-rs-server";
serviceConfig = {
WorkingDirectory = chir-rs;
EnvironmentFile = "/run/secrets/services/chir.rs";
};
wantedBy = [ "multi-user.target" ];
};
}