treewide: add syncthing

This commit is contained in:
Anthony Rodriguez 2024-11-17 15:04:22 +01:00
parent e69c0feab9
commit 375b893a43
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
4 changed files with 12 additions and 8 deletions

View file

@ -16,6 +16,8 @@ in {
"${system}/programs/gnome.nix" "${system}/programs/gnome.nix"
"${system}/programs/games.nix" "${system}/programs/games.nix"
"${system}/hardware/nvidia.nix" "${system}/hardware/nvidia.nix"
"${system}/services/syncthing.nix"
]; ];
home-manager = { home-manager = {

View file

@ -24,6 +24,8 @@ in {
"${system}/programs/niri" "${system}/programs/niri"
"${system}/services/gnome.nix" "${system}/services/gnome.nix"
"${system}/services/mail.nix" "${system}/services/mail.nix"
"${system}/services/syncthing.nix"
]; ];
home-manager = { home-manager = {

View file

@ -0,0 +1,8 @@
{
services = {
syncthing = {
enable = true;
};
};
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
}

View file

@ -1,8 +0,0 @@
{
services = {
syncthing = {
enable = true;
systemd.services.syncthing.environment.STNODEFAULTFOLDER = "true"; # Don't create default ~/Sync folder
};
};
}