feat: remove syncthing

This commit is contained in:
Felix Schröter 2022-07-10 13:11:03 +02:00
parent 6fee4d8a86
commit fc3a243354
Signed by: felschr
GPG key ID: 671E39E6744C807D
7 changed files with 0 additions and 79 deletions

View file

@ -14,7 +14,6 @@
./modules/emailNotify.nix
./services/mail.nix
./services/samba/home-pc.nix
./services/syncthing/home-pc.nix
./services/restic/home-pc.nix
./services/pcscd.nix
];

View file

@ -17,7 +17,6 @@ in with builtins; {
./services/mail.nix
./services/restic/home-server.nix
./services/samba/home-server.nix
./services/syncthing/home-server.nix
# ./services/kodi.nix
./services/jellyfin.nix
./services/etebase.nix

View file

@ -8,7 +8,6 @@
./desktop/monitors.nix
./vpn.nix
./git.nix
./syncthing.nix
./keybase.nix
./signal.nix
./browsers

View file

@ -1,6 +0,0 @@
{ config, pkgs, ... }:
{
# TODO https://github.com/nix-community/home-manager/issues/1425
# services.syncthing.tray = true;
}

View file

@ -41,7 +41,6 @@ in {
"/home/*/.local/share/NuGet"
"/home/*/.config/libvirt"
"/home/felschr/media"
"/home/felschr/sync"
"/home/felschr/keybase"
"/home/felschr/dev" # backup ~/dev-backup instead
];

View file

@ -1,33 +0,0 @@
{ config, pkgs, ... }:
let
versioning = {
type = "trashcan";
params.cleanoutDays = "30";
};
in {
services.syncthing = {
enable = true;
openDefaultPorts = true;
user = "felschr";
configDir = "/home/felschr/.config/syncthing";
dataDir = "/home/felschr/.local/share/syncthing";
devices = {
rpi4 = {
id = "RBKVWQQ-TGYBMQK-P4AADKE-7LGPHL7-UY4FEZA-6N7HQ4R-UCPSZPV-LWFK4AP";
};
};
folders = {
"Default" = {
id = "default";
path = "/home/felschr/sync/default";
devices = [ "rpi4" ];
};
"Backups" = {
id = "backups";
path = "/home/felschr/sync/backups";
devices = [ "rpi4" ];
};
};
};
}

View file

@ -1,36 +0,0 @@
{ config, pkgs, ... }:
let
versioning = {
type = "trashcan";
params.cleanoutDays = "30";
};
in {
services.syncthing = {
enable = true;
openDefaultPorts = true;
user = "felschr";
configDir = "/home/felschr/.config/syncthing";
dataDir = "/home/felschr/.local/share/syncthing";
devices = {
home-pc = {
id = "S4GZGYU-YN4SRVQ-SXSVWSJ-QYJYNIZ-LECWTJN-YMIUN5U-SNKECTW-BD3KOAB";
};
};
# TODO switch to external storage
folders = {
"Default" = {
id = "default";
path = "/home/felschr/sync/default";
devices = [ "home-pc" ];
inherit versioning;
};
"Backups" = {
id = "backups";
path = "/home/felschr/sync/backups";
devices = [ "home-pc" ];
inherit versioning;
};
};
};
}