Added Impermanence to services runned by cyper-controller
This commit is contained in:
@@ -6,6 +6,16 @@ let
|
||||
iface = config.systemd.network.networks."10-ethernet".matchConfig.Name;
|
||||
in
|
||||
{
|
||||
|
||||
environment.persistence."/persist".directories = [
|
||||
{
|
||||
directory = "/var/lib/watchyourlan";
|
||||
user = "watchyourlan";
|
||||
group = "watchyourlan";
|
||||
mode = "0750";
|
||||
}
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8840 ];
|
||||
|
||||
systemd.services.watchyourlan = {
|
||||
|
||||
Reference in New Issue
Block a user