nixos-generators/configuration.nix

12 lines
302 B
Nix
Raw Normal View History

2018-04-28 13:01:45 +03:00
{ config, lib, pkgs, ... }:
{
services.sshd.enable = true;
services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [ 80 ];
users.users.root.password = "nixos";
services.openssh.permitRootLogin = lib.mkDefault "yes";
services.mingetty.autologinUser = lib.mkDefault "root";
2018-04-28 13:01:45 +03:00
}