Commit graph

16 commits

Author SHA1 Message Date
Payas Relekar
85dfce6c73 syncthing: Change device id for Hermes 2023-08-20 17:58:09 +05:30
Payas Relekar
984a6708bf syncthing fix attempt v3 2023-08-06 19:38:40 +05:30
Payas Relekar
3e7d095c34 syncthing: fix v2 2023-08-06 19:34:53 +05:30
Payas Relekar
3a54ab7581 Fix and enable Syncthing with newer options 2023-08-05 18:27:20 +05:30
Payas Relekar
d1b659a55f Syncthing: try to update config per new options
And also disable
2023-07-23 22:03:00 +05:30
c716951f29 Syncthing: update for upstream option change 2023-05-28 16:20:10 +05:30
7b254da83d syncthing: More api updated 2023-05-18 22:14:42 +05:30
0003e82f75 Syncthing: Remove Enterprise 2022-06-04 01:16:09 +05:30
232fe744b7 Syncthing: Update id for Hermes 2022-06-04 01:15:47 +05:30
95a868f981 Syncthing/Bebop/Hermes: Replace Enterprise with Hermes
And enable Syncthing module for Hermes
2022-06-02 08:50:44 +00:00
7f107d0947 Syncthing/everywhere: Remove Rocinante
In pursuit of trying out NixOS on Rocinante, the device was formatted and in my
basic assumptions, I did not back up userdata.

So, the device is lost and I no longer have the original Syncthing keys for this
device. Being an android phone, it would be unwise to backup and restore the
keys anyway.

So, For now, I am simply removing Rocinante from my backp roster. Oh so much for
extra machine backing up my stuff..
2022-05-08 20:43:03 +05:30
71c0362ea5 Syncthing: Remove music_shared
Now only the full fat FLAC dir is shared between enterprise, bebop and Childish
Tycoon. I realised that the overhead of maintaining 2 sets was eventually going
to be too much. The two dirs were already out of sync, and as I was cleaning up
unwanted files from one device, the other dir was falling further behind in
sync.

So, now only FLACs will be shared. This means Rocinante has to be left out of
Music sync. This means there is one less backup, but I hope it will be fine.
Roci originally served the purpose of always-on node, but that role has been
taken over by bebopin much better fashion, so at least for now, I can survive
with one less backup of the music.
2022-05-01 20:15:53 +05:30
b105fe7add Syncthing: Add music_flac folder
This way I'll have at least one backup (albeit on-site only) of the flac
collection.

It took  me significant time to build it, and I'd rather not have to build all
of that again
2022-04-24 17:31:29 +05:30
047c890fbb Syncthing: Add Pictures folder to bring enterprise into declarative fold 2022-04-20 21:56:07 +05:30
b39ff3e66f Syncthing: Add all existing devices and foldes
But don't enable them for bebop yet. Its measly storage is not yet there to hold
the music :p
2022-04-18 19:11:10 +05:30
ed2e919840 Bebop: Initial setup of Syncthing using declarative NixOS service
This is really good, because all the folders and devices and all their sharing
matrix is now declarative and part of same config as everything else. This
should remove a lot of headache going forward.

Only question is, the secrets management for Syncthing cert and key.

cert is public info encoded into the device ID, so that is mostly taken care of,
kinda.

But, these are still imperatively generated by Syncthing on the first run. I can
generate my own using openssh, but that isn't strictly better because it adds
more imperative overhead.

Lastly, the cert+key+ID combo is unique and every time a new device comes
in/current device needs to be reinstalled (highly unlikely since the dawn on
NixOS, but never say never), then this needs to be adjusted manually. For now,
I'm gonna leave it be, and deal with it when the need arises.

Declaratively deploying key via agenix is currently shelved, because unlike
other uses, this one directly exposes my network and machine to wide internet,
hedging on single SSH key, that cannot be password protected due to limitation
in agenix.
2022-04-18 18:43:25 +05:30