retiolum: make hosts service persistant
This commit is contained in:
parent
e90be25da2
commit
eb8b4d06c8
@ -58,6 +58,10 @@ in {
|
|||||||
chown -R tinc.${netname} /etc/tinc/${netname}/hosts
|
chown -R tinc.${netname} /etc/tinc/${netname}/hosts
|
||||||
chmod -R u+w /etc/tinc/${netname}/hosts
|
chmod -R u+w /etc/tinc/${netname}/hosts
|
||||||
'';
|
'';
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
RemainAfterExit = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Some hosts require VPN for nixos-rebuild, so we don't want to restart it on update
|
# Some hosts require VPN for nixos-rebuild, so we don't want to restart it on update
|
||||||
|
Loading…
Reference in New Issue
Block a user