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
|
inputs.disko.nixosModules.disko
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./disko-config.nix
|
./disko-config.nix
|
||||||
|
./syncthing.nix
|
||||||
../../modules/security.nix
|
../../modules/security.nix
|
||||||
../../modules/nix-config.nix
|
../../modules/nix-config.nix
|
||||||
../../modules/timezone.nix
|
../../modules/timezone.nix
|
||||||
|
|
|
||||||
|
|
@ -6,16 +6,18 @@
|
||||||
user = "vsftpd";
|
user = "vsftpd";
|
||||||
group = "vsftpd";
|
group = "vsftpd";
|
||||||
|
|
||||||
devices = {
|
dataDir = "/var/lib/vsftpd";
|
||||||
|
|
||||||
|
settings.devices = {
|
||||||
thrall = {
|
thrall = {
|
||||||
id = "P52YQU2-7LCEOVV-DSGTAZG-AJ2DSJD-JPHSUJE-HC2KAGO-YR4SXQD-V6OQ7QF";
|
id = "P52YQU2-7LCEOVV-DSGTAZG-AJ2DSJD-JPHSUJE-HC2KAGO-YR4SXQD-V6OQ7QF";
|
||||||
addresses = [ "tcp://195.90.211.228:22000" ];
|
addresses = [ "tcp://195.90.211.228:22000" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
folders = {
|
settings.folders = {
|
||||||
"/var/lib/vsftpd/data/upload" = {
|
paperless = {
|
||||||
id = "paperless";
|
path = "${config.services.vsftpd.localRoot}/scan";
|
||||||
devices = [ "thrall" ];
|
devices = [ "thrall" ];
|
||||||
versioning = {
|
versioning = {
|
||||||
type = "trashcan";
|
type = "trashcan";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue