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

17 lines
No EOL
405 B
Nix

{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
networking.useDHCP = lib.mkDefault true;
networking.hostName = "nixos-iso-desktop";
networking.firewall.allowedTCPPorts = [ 22 ];
# Allow passworded ssh
services.openssh = {
enable = true;
openFirewall = false;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = lib.mkForce true;
};
};
}