nix/nixos/hosts/nixos-iso-desktop/default.nix

18 lines
406 B
Nix
Raw Normal View History

2023-09-30 07:08:43 +02:00
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
networking.useDHCP = lib.mkDefault true;
networking.hostName = "nixos-iso-desktop";
networking.firewall.allowedTCPPorts = [ 22 ];
2023-12-13 05:08:29 +01:00
# Allow passworded ssh
services.openssh = {
enable = true;
openFirewall = false;
settings = {
PermitRootLogin = "no";
2023-12-13 05:11:45 +01:00
PasswordAuthentication = lib.mkForce true;
2023-12-13 05:10:46 +01:00
};
2023-12-13 05:08:29 +01:00
};
2024-05-08 01:28:11 +02:00
}