feat: remove syncthing
This commit is contained in:
parent
6fee4d8a86
commit
fc3a243354
|
@ -14,7 +14,6 @@
|
||||||
./modules/emailNotify.nix
|
./modules/emailNotify.nix
|
||||||
./services/mail.nix
|
./services/mail.nix
|
||||||
./services/samba/home-pc.nix
|
./services/samba/home-pc.nix
|
||||||
./services/syncthing/home-pc.nix
|
|
||||||
./services/restic/home-pc.nix
|
./services/restic/home-pc.nix
|
||||||
./services/pcscd.nix
|
./services/pcscd.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -17,7 +17,6 @@ in with builtins; {
|
||||||
./services/mail.nix
|
./services/mail.nix
|
||||||
./services/restic/home-server.nix
|
./services/restic/home-server.nix
|
||||||
./services/samba/home-server.nix
|
./services/samba/home-server.nix
|
||||||
./services/syncthing/home-server.nix
|
|
||||||
# ./services/kodi.nix
|
# ./services/kodi.nix
|
||||||
./services/jellyfin.nix
|
./services/jellyfin.nix
|
||||||
./services/etebase.nix
|
./services/etebase.nix
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
./desktop/monitors.nix
|
./desktop/monitors.nix
|
||||||
./vpn.nix
|
./vpn.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./syncthing.nix
|
|
||||||
./keybase.nix
|
./keybase.nix
|
||||||
./signal.nix
|
./signal.nix
|
||||||
./browsers
|
./browsers
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# TODO https://github.com/nix-community/home-manager/issues/1425
|
|
||||||
# services.syncthing.tray = true;
|
|
||||||
}
|
|
|
@ -41,7 +41,6 @@ in {
|
||||||
"/home/*/.local/share/NuGet"
|
"/home/*/.local/share/NuGet"
|
||||||
"/home/*/.config/libvirt"
|
"/home/*/.config/libvirt"
|
||||||
"/home/felschr/media"
|
"/home/felschr/media"
|
||||||
"/home/felschr/sync"
|
|
||||||
"/home/felschr/keybase"
|
"/home/felschr/keybase"
|
||||||
"/home/felschr/dev" # backup ~/dev-backup instead
|
"/home/felschr/dev" # backup ~/dev-backup instead
|
||||||
];
|
];
|
||||||
|
|
|
@ -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" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue