Compare commits

..

No commits in common. "a8edaf5c257567249bbaa2f0366e4fdd8f9d35eb" and "ea97703ced0bf2566d4feaadfc24c6d44de74d35" have entirely different histories.

View file

@ -41,16 +41,10 @@
systemd = {
services.register-thing = {
serviceConfig = let
script = pkgs.writeShellApplication {
name = "run-thing";
runtimeInputs = with pkgs; [nix];
text = "/home/maintainer/register-thing/thing";
};
in {
serviceConfig = {
Type = "oneshot";
User = "maintainer";
ExecStart = "${script}/bin/run-thing";
ExecStart = "/home/maintainer/register-thing/thing";
};
};