Fix path setting
Move Legion syncthing path to be default like everything else
This commit is contained in:
parent
dccc55a301
commit
367ac8e689
|
@ -28,9 +28,7 @@ in {
|
||||||
allowedUDPPorts = [ port ];
|
allowedUDPPorts = [ port ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
services.openvpn = {
|
||||||
syncthing.dataDir = "/var/lib/syncthing";
|
|
||||||
openvpn = {
|
|
||||||
restartAfterSleep = true;
|
restartAfterSleep = true;
|
||||||
servers.xenia.config = ''
|
servers.xenia.config = ''
|
||||||
dev ${vpn-dev}
|
dev ${vpn-dev}
|
||||||
|
@ -49,7 +47,6 @@ in {
|
||||||
persist-key
|
persist-key
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
environment.etc."openvpn/client.ovpn" = {
|
environment.etc."openvpn/client.ovpn" = {
|
||||||
text = ''
|
text = ''
|
||||||
|
|
|
@ -5,7 +5,7 @@ in {
|
||||||
inherit user;
|
inherit user;
|
||||||
inherit (config.users.users.${user}) group;
|
inherit (config.users.users.${user}) group;
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = lib.mkDefault "/home/${user}";
|
dataDir = "/home/${user}";
|
||||||
systemService = true;
|
systemService = true;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in a new issue