mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-08 18:03:08 +02:00
ssh
Signed-off-by: Alex Stan <90788596+Ultra980@users.noreply.github.com>
This commit is contained in:
parent
bc258b21e5
commit
de2758e9a8
1 changed files with 9 additions and 3 deletions
|
@ -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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue