diff --git a/configuration.nix b/configuration.nix index 891d549..452ea23 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,6 +18,8 @@ networking = { hostName = "nginx"; networkmanager.enable = true; + firewall.allowedTCPPorts = [ 80 443 ]; + # firewall.allowedUDPPorts = [ ... ]; }; # Set your time zone. @@ -66,18 +68,20 @@ ]; # Enable the OpenSSH daemon. - services.openssh = { - enable = true; - settings.PermitRootLogin = "without-password"; - }; - - services.nginx = { - enable = true; - virtualHosts = { - "git.blubb.fish" = { - addSSL = true; - enableACME = true; - locations."/".proxyPass = "http://10.0.0.24:3000/"; + services = { + openssh = { + enable = true; + # settings.PermitRootLogin = "without-password"; + }; + qemuGuest.enable = true; + nginx = { + enable = true; + virtualHosts = { + "git.blubb.fish" = { + addSSL = true; + enableACME = true; + locations."/".proxyPass = "http://10.0.0.24:3000/"; + }; }; }; }; @@ -87,11 +91,7 @@ defaults.email = "gentoo@blubb.fish"; }; - # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 80 443 ]; - # networking.firewall.allowedUDPPorts = [ ... ]; - # leave installation default system.stateVersion = "24.05"; # Did you read the comment? -} +} \ No newline at end of file