diff --git a/nixos/configuration.nix b/nixos/configuration.nix index a3c208c..3c67d2c 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -90,10 +90,6 @@ ]; }; - users.users.root.openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICNkZ5Xr75thR/tEgsASzYAtaA/kbsv2PKI8ux9rgpTe roydumblauskas@gmail.com" - ]; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ @@ -119,7 +115,11 @@ # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. - networking.firewall.enable = false; + # networking.firewall.enable = false; + networking.firewall = { + enable = true; + allowedTCPPorts = [ 22 80 443 ]; + }; # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you