Improve NixOS default firewall declaration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
system.stateVersion = "25.05";
|
||||
@@ -51,6 +51,7 @@
|
||||
services.qemuGuest.enable = true;
|
||||
services.spice-vdagentd.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
harden = true;
|
||||
|
||||
Reference in New Issue
Block a user