feat: add syncthing
This commit is contained in:
parent
608dd81dc1
commit
ce2b2501a1
3 changed files with 24 additions and 0 deletions
|
|
@ -4,6 +4,16 @@
|
||||||
|
|
||||||
networking.hostName = "IROH";
|
networking.hostName = "IROH";
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
settings = {
|
||||||
|
devices = {
|
||||||
|
IROH = {
|
||||||
|
id = "PJA2MBA-66PQQEO-5KICONS-FGHDH46-YRV2X5Y-47UUP77-QXI2WNS-R33FPAK";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
bchmnn = {
|
bchmnn = {
|
||||||
|
|
||||||
gui = {
|
gui = {
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,7 @@
|
||||||
./services.nix
|
./services.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./steam.nix
|
./steam.nix
|
||||||
|
./syncthing.nix
|
||||||
./udisks2.nix
|
./udisks2.nix
|
||||||
./unfree.nix
|
./unfree.nix
|
||||||
./virtualisation.nix
|
./virtualisation.nix
|
||||||
|
|
|
||||||
13
modules/syncthing.nix
Normal file
13
modules/syncthing.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ ... }: {
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
openDefaultPorts = true;
|
||||||
|
|
||||||
|
user = "gandalf";
|
||||||
|
dataDir = "/home/gandalf";
|
||||||
|
|
||||||
|
overrideFolders = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue