poppy: gcalcli; kitty opacity 0.84; gpg-agent ttl 600s; pay.nix darwin (skip autoPatchelfHook); syncthing launchd via nix-darwin; mihomo
This commit is contained in:
parent
4cfd8d3ac3
commit
0e56d31d68
7 changed files with 28 additions and 24 deletions
|
|
@ -6,20 +6,7 @@
|
|||
# Devices: poppy (this mac) + remote (UCWTYQI-...)
|
||||
home.packages = [ pkgs.syncthing ];
|
||||
|
||||
# Autostart via launchd
|
||||
# -no-browser: don't open GUI on startup
|
||||
# KeepAlive: restart if crashes
|
||||
# RunAtLoad: start at login
|
||||
launchd.agents.syncthing = {
|
||||
enable = true;
|
||||
config = {
|
||||
ProgramArguments = [
|
||||
"${pkgs.syncthing}/bin/syncthing"
|
||||
"serve"
|
||||
];
|
||||
RunAtLoad = true;
|
||||
KeepAlive = true;
|
||||
ProcessType = "Background";
|
||||
};
|
||||
};
|
||||
# Autostart is declared in hosts/poppy/default.nix via nix-darwin's
|
||||
# launchd.user.agents. Home Manager only provides the package here;
|
||||
# nix-darwin owns the LaunchAgent lifecycle and bootstraps it at login.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue