diff options
| author | Joe Mou <dev@mou.fo> | 2025-04-09 00:01:20 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2025-04-09 00:03:45 -0400 |
| commit | 70934d84de4f5740853cb323f76df9efa50c1835 (patch) | |
| tree | 1b47a25bdff1424eacd3f462f33aaf9bd012ddcb | |
| parent | b6612f7bb948382460f98fbd0b2ce9ec7fcfd4f9 (diff) | |
syncthing: Synctrain for iPad, add Steam Deck extra/
Still need to remove Möbius and migrate iPhone to Synctrain also.
This should also properly set /srv/syncthing group permissions.
| -rw-r--r-- | hostnix/elmo/syncthing.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/hostnix/elmo/syncthing.nix b/hostnix/elmo/syncthing.nix index ca91d5a..5767fd7 100644 --- a/hostnix/elmo/syncthing.nix +++ b/hostnix/elmo/syncthing.nix @@ -10,9 +10,7 @@ let }; in { - systemd.tmpfiles.rules = [ - "d /srv/syncthing 0770 syncthing syncthing" # defaults to 0700 - ]; + users.users.syncthing.homeMode = "0750"; # May be of limited usefulness because Syncthing generally ignores umask. systemd.services.syncthing = { @@ -38,6 +36,10 @@ in id = "F5APH5K-XXO454B-6YU4BTT-YPHF4KT-OD7YF5Y-JTWJRSU-UNJ2KZK-IVJZNQT"; autoAcceptFolders = true; }; + "Joes-iPad" = { + id = "LJRC74M-EKUZO73-GAZPTUL-ZIQXHKR-IWR5Y5X-VDOPV6T-3BNOTR3-6CTG3AG"; + autoAcceptFolders = true; + }; "iPad" = { id = "U7D7667-RFEFHXX-TUJGGII-CE62S6P-YC6MWNV-4LBJ4YJ-5ZUZVPT-GBC5PQH"; autoAcceptFolders = true; @@ -73,6 +75,12 @@ in versioning = staggeredVersioning; devices = [ "steamdeck" ]; }; + "Deck/extra" = { + id = "jzncl-7nkcq"; + path = "~/Deck/extra"; + versioning = staggeredVersioning; + devices = [ "steamdeck" ]; + }; "Documents" = { id = "bhemx-9nh3v"; path = "~/Documents"; @@ -83,7 +91,7 @@ in id = "kvq6q-axjhu"; path = "~/Downloads"; versioning = staggeredVersioning; - devices = [ "sparky" ]; + devices = [ "sparky" "Joes-iPad" ]; }; "Game/Epic Games/TheTalosPrinciple/UserData" = { id = "vek7u-iausx"; @@ -117,6 +125,7 @@ in "Asus Nexus 7" "DESKTOP-SFVBFBU" "Joes-iPhone-6" + "Joes-iPad" "iPad" "penguin" "sparky" @@ -136,8 +145,7 @@ in "iPad" = { id = "qtzmu-fqdrs"; path = "~/iPad"; - versioning = staggeredVersioning; - devices = [ "iPad" ]; + devices = [ "Joes-iPad" "iPad" ]; }; }; }; |
