commit | bdc2345acae7c87fd97cb37165b2a3609f63a86e | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Wed Jun 14 13:39:10 2023 -0400 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Wed Jun 14 13:39:10 2023 -0400 |
tree | d95d035b6ea0ee398532854bb7478fb4437460f0 | |
parent | e6f67ce43e3f1a3aae0573c8f4ad0cc49fcb4245 [diff] [blame] |
add syncthing.nix, add drivePaths.nix for mounting drive_paths
diff --git a/modules/syncthing.nix b/modules/syncthing.nix new file mode 100644 index 0000000..77e98df --- /dev/null +++ b/modules/syncthing.nix
@@ -0,0 +1,11 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ syncthing ]; + + services.syncthing.enable = true; + services.syncthing.openDefaultPorts = true; + + services.syncthing.extraOptions.gui = { + user = "admin"; + password = "password"; + }; +}