Add syncthing
This commit is contained in:
parent
3b2c0d88ff
commit
a1ee523642
@ -147,6 +147,8 @@
|
||||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
syncthing = import ./syncthing.nix;
|
||||
|
||||
unifi = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
||||
@ -81,6 +81,11 @@
|
||||
fsType = "zfs";
|
||||
neededForBoot = true;
|
||||
};
|
||||
fileSystems."/serverdata/syncthing" =
|
||||
{ device = "rpool/serverdata/syncthing";
|
||||
fsType = "zfs";
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "rpool/userdata/home";
|
||||
|
||||
9
machines/pedro/syncthing.nix
Normal file
9
machines/pedro/syncthing.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
enable = true;
|
||||
dataDir = "/serverdata/syncthing/";
|
||||
user = "jacob";
|
||||
group = "users";
|
||||
#openDefaultPorts = true;
|
||||
configDir = "/serverdata/syncthing/.config/syncthing";
|
||||
guiAddress = "192.168.88.0:8234"; # for headless
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user