feat: remove wireproxy, not needed actually.
This commit is contained in:
parent
992b689bbf
commit
f59a08c05f
1 changed files with 0 additions and 34 deletions
|
|
@ -1,34 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
systemd.services.wireproxy = {
|
|
||||||
enable = true;
|
|
||||||
description = "Wireproxy";
|
|
||||||
after = ["network.target"];
|
|
||||||
wants = ["network.target"];
|
|
||||||
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "simple";
|
|
||||||
Restart = "always";
|
|
||||||
RestartSec = 3;
|
|
||||||
User = "wireproxy";
|
|
||||||
Group = "wireproxy";
|
|
||||||
WorkingDirectory = "/var/lib/wireproxy";
|
|
||||||
StateDirectory = "wireproxy";
|
|
||||||
};
|
|
||||||
|
|
||||||
script = "${pkgs.wireproxy}/bin/wireproxy";
|
|
||||||
|
|
||||||
wantedBy = ["multi-user.target"];
|
|
||||||
};
|
|
||||||
|
|
||||||
users = {
|
|
||||||
users.wireproxy = {
|
|
||||||
isSystemUser = true;
|
|
||||||
home = "/var/lib/wireproxy";
|
|
||||||
createHome = true;
|
|
||||||
group = "wireproxy";
|
|
||||||
};
|
|
||||||
groups.wireproxy = {};
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [25344];
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue