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