added syncthing home manager options
This commit is contained in:
parent
b8907010fe
commit
3826c8ab0f
3 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
7
modules/home-manager/syncthing.nix
Normal file
7
modules/home-manager/syncthing.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{config, lib, pkgs, modulesPath, ... }:
|
||||||
|
{
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
tray.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue