diff options
author | polwex <polwex@sortug.com> | 2024-07-21 01:09:48 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2024-07-21 01:09:48 +0700 |
commit | 78907aa98c1af8624a62ca123d088c6c16424f41 (patch) | |
tree | 477fe923810522acc211b7514e4931af80f33ed7 /hosts/syncthing.nix |
init
Diffstat (limited to 'hosts/syncthing.nix')
-rw-r--r-- | hosts/syncthing.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/syncthing.nix b/hosts/syncthing.nix new file mode 100644 index 0000000..09b0d9b --- /dev/null +++ b/hosts/syncthing.nix @@ -0,0 +1,9 @@ +{ pkgs, ...}: +{ + services.syncthing = { + enable = true; + user = "y"; + dataDir = "/home/y/sync/data"; + configDir = "/home/y/sync/.config"; + }; +} |