mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-08-16 23:51:00 +03:00
16 lines
312 B
Nix
16 lines
312 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.sshd.enable = true;
|
|
services.nginx.enable = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [80];
|
|
|
|
users.users.root.password = "nixos";
|
|
services.openssh.settings.PermitRootLogin = lib.mkDefault "yes";
|
|
services.getty.autologinUser = lib.mkDefault "root";
|
|
}
|