logs: add launchd logs

Also turn off ipfs
This commit is contained in:
Jeremy Wall 2024-08-04 17:06:58 -04:00
parent 004ef58f30
commit 2482182a1c

View File

@ -32,17 +32,17 @@ in
]; ];
# TODO(zaphar): Move this to a module. # TODO(zaphar): Move this to a module.
launchd.user.agents.ipfs = { #launchd.user.agents.ipfs = {
serviceConfig = { # serviceConfig = {
ProgramArguments = [ # ProgramArguments = [
"${pkgs.kubo}/bin/ipfs" # "${pkgs.kubo}/bin/ipfs"
"daemon" # "daemon"
"--init" # "--init"
]; # ];
KeepAlive = true; # KeepAlive = true;
RunAtLoad = true; # RunAtLoad = true;
}; # };
}; #};
services.durnitisp.enable = true; services.durnitisp.enable = true;
services.node-exporter.enable = true; services.node-exporter.enable = true;
@ -242,6 +242,7 @@ in
type = "file"; type = "file";
include = [ include = [
"/var/log/system.log" "/var/log/system.log"
"/var/log/com.apple.xpc.launchd/launchd.log"
]; ];
}; };
}; };