diff options
author | Alan Pearce | 2021-04-12 15:11:51 +0200 |
---|---|---|
committer | Alan Pearce | 2021-04-12 15:11:51 +0200 |
commit | f5785c7356f7538306397493b33c859f05886c35 (patch) | |
tree | 9ec358e8849d950741d9b4a804e3f6a8113e2215 /system/prefect.nix | |
parent | 88661823ed8563dafa4f8304e537f4ae5d9c2341 (diff) | |
download | nixfiles-f5785c7356f7538306397493b33c859f05886c35.tar.lz nixfiles-f5785c7356f7538306397493b33c859f05886c35.tar.zst nixfiles-f5785c7356f7538306397493b33c859f05886c35.zip |
prefect: enable SSH
Diffstat (limited to 'system/prefect.nix')
-rw-r--r-- | system/prefect.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index 188dfd8f..f9146e8e 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -73,6 +73,11 @@ }; networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ]; + services.openssh = { + enable = true; + openFirewall = false; + startWhenNeeded = true; + }; networking.firewall.extraCommands = '' iptables -A nixos-fw -p udp --source 172.30.44.0/24 -j nixos-fw-accept iptables -A nixos-fw -p tcp --source 172.30.44.0/24 -j nixos-fw-accept |