Signed-off-by: Christoph Schmatzler <christoph@schmatzler.com>
This commit is contained in:
2025-09-02 19:08:28 +00:00
parent 8bd0682511
commit c19e153657
6 changed files with 61 additions and 32 deletions

View File

@@ -4,8 +4,14 @@
...
}: let
isDarwin = pkgs.stdenv.isDarwin;
homeDir = if isDarwin then "/Users/${user}" else "/home/${user}";
group = if isDarwin then "staff" else "users";
homeDir =
if isDarwin
then "/Users/${user}"
else "/home/${user}";
group =
if isDarwin
then "staff"
else "users";
in {
services.syncthing = {
enable = true;