bring back nix-darwin hosts compatability
This commit is contained in:
parent
1b6a0430d2
commit
0bf4fb87c6
13 changed files with 579 additions and 31 deletions
|
|
@ -114,6 +114,11 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# Override the launchd agent to add RunAtLoad on macOS
|
||||
launchd.agents.syncthing = lib.mkIf (pkgs.stdenv.isDarwin && config.services.syncthing.enable) {
|
||||
config.RunAtLoad = true;
|
||||
};
|
||||
|
||||
# Deploy .stignore files to synced folders (only for enabled folders)
|
||||
home.file = lib.mkMerge [
|
||||
(lib.mkIf (lib.elem "Credentials" cfg.enabledFolders) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue