igor: Setup syncthing
This commit is contained in:
parent
0fb9ad732a
commit
5e47764aef
2 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue