Fix path setting

Move Legion syncthing path to be default like everything else
This commit is contained in:
Evie Litherland-Smith 2023-10-22 07:52:24 +01:00
parent dccc55a301
commit 367ac8e689
2 changed files with 17 additions and 20 deletions

View file

@ -28,9 +28,7 @@ in {
allowedUDPPorts = [ port ];
};
};
services = {
syncthing.dataDir = "/var/lib/syncthing";
openvpn = {
services.openvpn = {
restartAfterSleep = true;
servers.xenia.config = ''
dev ${vpn-dev}
@ -49,7 +47,6 @@ in {
persist-key
'';
};
};
environment.etc."openvpn/client.ovpn" = {
text = ''

View file

@ -5,7 +5,7 @@ in {
inherit user;
inherit (config.users.users.${user}) group;
enable = true;
dataDir = lib.mkDefault "/home/${user}";
dataDir = "/home/${user}";
systemService = true;
openDefaultPorts = true;
settings = {