mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-22 10:05:06 +03:00
16 lines
342 B
Nix
16 lines
342 B
Nix
{
|
|
lib,
|
|
...
|
|
}: {
|
|
services.sshd.enable = true;
|
|
services.nginx.enable = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [80];
|
|
|
|
system.stateVersion = lib.version;
|
|
|
|
users.users.root.password = "nixos";
|
|
services.openssh.settings.PermitRootLogin = lib.mkOverride 999 "yes";
|
|
services.getty.autologinUser = lib.mkOverride 999 "root";
|
|
}
|