Skip to content

Commit

Permalink
feat: add syncthing
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Oct 4, 2024
1 parent 406dc39 commit 2b3e5b1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
./users
./wayland
./nix
./security
./services
];

environment.etc.machine-id.text = "796f7520617265206175746973746963";
Expand Down
12 changes: 12 additions & 0 deletions system/services/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{...}: {
services.syncthing = {
enable = true;
user = "sioodmy";
dataDir = "/home/sioodmy/.config/syncthing";
configDir = "/home/sioodmy/.config/syncthing";
guiAddress = "127.0.0.1:8384";

openDefaultPorts = true;
};
boot.kernel.sysctl."fs.inotify.max_user_watches" = 1048576;
}

0 comments on commit 2b3e5b1

Please sign in to comment.