Signed-off-by: Alex Stan <90788596+Ultra980@users.noreply.github.com>
This commit is contained in:
Alex Stan 2023-09-24 22:00:50 +03:00
parent bc258b21e5
commit de2758e9a8

View file

@ -197,10 +197,10 @@ in {
# services.openssh.enable = true; # services.openssh.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ 21 20 ]; # networking.firewall.allowedTCPPorts = [ 21 20 22 ];
networking.firewall.allowedUDPPorts = [ 21 20 ]; # networking.firewall.allowedUDPPorts = [ 21 20 22 ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; networking.firewall.enable = false;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
@ -314,6 +314,12 @@ in {
}; };
snowflake-proxy.enable = true; snowflake-proxy.enable = true;
openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
};
};
}; };