summaryrefslogtreecommitdiff
path: root/hostnix/elmo
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix/elmo')
-rw-r--r--hostnix/elmo/syncthing.nix20
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" ];
};
};
};