added syncthing home manager options

This commit is contained in:
specCon18 2023-07-29 03:09:35 -04:00
parent b8907010fe
commit 3826c8ab0f
3 changed files with 12 additions and 4 deletions

View file

@ -91,6 +91,7 @@
./modules/home-manager/home-manager.nix ./modules/home-manager/home-manager.nix
./modules/home-manager/starship.nix ./modules/home-manager/starship.nix
./modules/home-manager/dconf-settings.nix ./modules/home-manager/dconf-settings.nix
./modules/home-manager/syncthing.nix
]; #extra modules to be loaded by home-manager ]; #extra modules to be loaded by home-manager
}; };
}; };

View file

@ -0,0 +1,7 @@
{config, lib, pkgs, modulesPath, ... }:
{
services.syncthing = {
enable = true;
tray.enable = true;
};
}

View file

@ -7,15 +7,15 @@
configDir = "/home/speccon18/.config/syncthing"; configDir = "/home/speccon18/.config/syncthing";
user = "speccon18"; user = "speccon18";
group = "users"; group = "users";
extraOptions.gui = {
user = "admin";
password = "Strife-Rerun-Lily-Pushover-Alongside-Raider0-Freebase";
};
guiAddress = "0.0.0.0:8384"; guiAddress = "0.0.0.0:8384";
overrideDevices = true; overrideDevices = true;
overrideFolders = true; overrideFolders = true;
devices = { devices = {
"syncthing_server" = { id = "N3UGNP6-ZU6JHBX-WNJDEUF-FV5DOWA-VAGFDYN-FIIMFRR-C3HGQHU-WOEIUQ6"; }; "syncthing_server" = { id = "N3UGNP6-ZU6JHBX-WNJDEUF-FV5DOWA-VAGFDYN-FIIMFRR-C3HGQHU-WOEIUQ6"; };
}; };
extraOptions.gui = {
user = "admin";
password = "Strife-Rerun-Lily-Pushover-Alongside-Raider0-Freebase";
};
}; };
} }