igor: Setup syncthing

This commit is contained in:
Alexander Kobjolke 2024-12-18 00:30:06 +01:00
parent 0fb9ad732a
commit 5e47764aef
2 changed files with 7 additions and 4 deletions

View file

@ -10,6 +10,7 @@
inputs.disko.nixosModules.disko
./hardware-configuration.nix
./disko-config.nix
./syncthing.nix
../../modules/security.nix
../../modules/nix-config.nix
../../modules/timezone.nix

View file

@ -6,16 +6,18 @@
user = "vsftpd";
group = "vsftpd";
devices = {
dataDir = "/var/lib/vsftpd";
settings.devices = {
thrall = {
id = "P52YQU2-7LCEOVV-DSGTAZG-AJ2DSJD-JPHSUJE-HC2KAGO-YR4SXQD-V6OQ7QF";
addresses = [ "tcp://195.90.211.228:22000" ];
};
};
folders = {
"/var/lib/vsftpd/data/upload" = {
id = "paperless";
settings.folders = {
paperless = {
path = "${config.services.vsftpd.localRoot}/scan";
devices = [ "thrall" ];
versioning = {
type = "trashcan";