summaryrefslogtreecommitdiff
path: root/machines/tiny1.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/tiny1.nix')
-rw-r--r--machines/tiny1.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/tiny1.nix b/machines/tiny1.nix
index 1ca2837..8290879 100644
--- a/machines/tiny1.nix
+++ b/machines/tiny1.nix
@@ -3,9 +3,8 @@
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
- orbekk.simple-firewall.enable = true;
- orbekk.simple-firewall.allowedTCPPorts = [ 22 ];
orbekk.vpn.enable = true;
+ networking.firewall.enable = true;
nix.gc.automatic = true;
nix.gc.options = "--delete-older-than 14d";
@@ -15,6 +14,7 @@
networking.interfaces.ens3.useDHCP = true;
services.openssh.enable = true;
+ services.openssh.openFirewall = true;
users.users.root.initialHashedPassword = "";
users.users.root.openssh.authorizedKeys.keys = [