Skip to content

Commit

Permalink
pc: Restore ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Feb 1, 2025
1 parent d6a15f1 commit b50de66
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion configurations/nixos/public-container/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b50de66

Please sign in to comment.