Gutterman: set open ports in firewall
This commit is contained in:
parent
c27cc9ebc3
commit
58c11b16cf
1 changed files with 11 additions and 0 deletions
|
|
@ -29,6 +29,17 @@
|
||||||
CacheFromLocalhost=true
|
CacheFromLocalhost=true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [
|
||||||
|
8000
|
||||||
|
8001
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [
|
||||||
|
8000
|
||||||
|
8001
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
let
|
let
|
||||||
nixpkgs-unstable = import inputs.nixpkgs-unstable {
|
nixpkgs-unstable = import inputs.nixpkgs-unstable {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue