pc: Restore ssh

This commit is contained in:
Sridhar Ratnakumar 2025-02-01 18:52:38 -05:00
parent d6a15f13a3
commit b50de6648c

View file

@ -11,7 +11,14 @@ in
];
nixpkgs.hostPlatform = "x86_64-linux";
networking.firewall.enable = true;
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
};
# Workaround the annoying `Failed to start Network Manager Wait Online` error on switch.
# https://github.com/NixOS/nixpkgs/issues/180175