[tohru] Enable syncthing with kilgharrah
This commit is contained in:
parent
f71a65d051
commit
19886a488c
|
@ -7,6 +7,7 @@
|
||||||
./home.nix
|
./home.nix
|
||||||
../../common/fonts.nix
|
../../common/fonts.nix
|
||||||
../../common/steam.nix
|
../../common/steam.nix
|
||||||
|
./syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
24
hosts/tohru/syncthing.nix
Normal file
24
hosts/tohru/syncthing.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "qenya";
|
||||||
|
dataDir = "/data/syncthing";
|
||||||
|
openDefaultPorts = true;
|
||||||
|
overrideDevices = true;
|
||||||
|
overrideFolders = true;
|
||||||
|
settings = {
|
||||||
|
devices = {
|
||||||
|
"kilgharrah" = { id = "RDT7IGD-76FZ6LY-37PPB2W-DWPQRPR-LZ4AXF7-4GIIHYJ-RVXUUSG-ZXPN3AZ"; };
|
||||||
|
};
|
||||||
|
folders = {
|
||||||
|
"Documents" = {
|
||||||
|
id = "alp59-7gs9s";
|
||||||
|
path = "~/Documents";
|
||||||
|
devices = [ "kilgharrah" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue