feat: unify home-pc naming
This commit is contained in:
parent
dfe6dbecf3
commit
b6dbe19a6f
5 changed files with 8 additions and 8 deletions
33
services/syncthing/home-pc.nix
Normal file
33
services/syncthing/home-pc.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue