feat: add syncthing

This commit is contained in:
Jacob Bachmann 2024-03-26 11:58:37 +01:00
parent 608dd81dc1
commit ce2b2501a1
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
3 changed files with 24 additions and 0 deletions

View file

@ -4,6 +4,16 @@
networking.hostName = "IROH";
services.syncthing = {
settings = {
devices = {
IROH = {
id = "PJA2MBA-66PQQEO-5KICONS-FGHDH46-YRV2X5Y-47UUP77-QXI2WNS-R33FPAK";
};
};
};
};
bchmnn = {
gui = {

View file

@ -78,6 +78,7 @@
./services.nix
./shell.nix
./steam.nix
./syncthing.nix
./udisks2.nix
./unfree.nix
./virtualisation.nix

13
modules/syncthing.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }: {
services.syncthing = {
enable = true;
openDefaultPorts = true;
user = "gandalf";
dataDir = "/home/gandalf";
overrideFolders = true;
};
}