Add syncthing

This commit is contained in:
Agatha Lovelace 2023-10-04 14:57:52 +02:00
parent 156ab1c904
commit abd6a31c90
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{
services.syncthing = {
enable = true;
user = "agatha";
openDefaultPorts = true;
overrideFolders = false;
overrideDevices = false;
};
}

View File

@ -2,6 +2,7 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../common/fragments/graphical ../../common/fragments/graphical
../../common/fragments/graphical/syncthing.nix
../../common/fragments/yubikey.nix ../../common/fragments/yubikey.nix
../../common/home_manager/common.nix ../../common/home_manager/common.nix
]; ];
@ -74,6 +75,9 @@
}; };
environment.graphical.theme.name = "bridge"; environment.graphical.theme.name = "bridge";
services.syncthing.dataDir = "/mnt/hdd/syncthing";
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave