nixmsi: allow 27015 udp
This commit is contained in:
parent
8e3d0c90a8
commit
6d8e1d85ac
|
@ -60,11 +60,11 @@ def main():
|
|||
else:
|
||||
copy_args.extend(["--from", "ssh-ng://root@" + build_host])
|
||||
else:
|
||||
print('building', drv)
|
||||
print('building', attr_path)
|
||||
cmd = ["nix", "build", attr_path, "--no-link", "--json"] + args
|
||||
ret = subprocess.run(cmd, check=True, encoding="utf-8", stdout=subprocess.PIPE)
|
||||
ret = json.loads(ret.stdout)[0]["outputs"]["out"]
|
||||
print(drv, 'output', ret)
|
||||
print('output', ret)
|
||||
cmds = []
|
||||
if act in ["boot", "switch"]:
|
||||
cmds.append(["nix-env", "-p", "/nix/var/nix/profiles/system", "--set", ret])
|
||||
|
|
|
@ -81,6 +81,7 @@
|
|||
7777
|
||||
9887
|
||||
];
|
||||
networking.firewall.allowedUDPPorts = [ 27015 ];
|
||||
# kde connect
|
||||
networking.firewall.allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; }
|
||||
|
|
Loading…
Reference in a new issue