nix-infra/hosts/test-vm/default.nix

14 lines
268 B
Nix
Raw Normal View History

2024-03-24 18:02:45 +00:00
{ lib, pkgs, ... }: {
2024-03-24 18:02:23 +00:00
services.openssh = {
enable = true;
settings.PasswordAuthentication = lib.mkForce true;
};
2024-03-24 18:02:29 +00:00
networking.firewall.allowedTCPPorts = [ 22 ];
2024-03-24 18:02:23 +00:00
environment.systemPackages = with pkgs; [
htop
];
system.stateVersion = "23.10";
}