2018-04-28 13:01:45 +03:00
|
|
|
{
|
2023-05-29 10:35:13 +03:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2018-04-28 13:01:45 +03:00
|
|
|
services.sshd.enable = true;
|
|
|
|
services.nginx.enable = true;
|
2019-08-15 14:08:11 +03:00
|
|
|
|
2023-05-29 10:35:13 +03:00
|
|
|
networking.firewall.allowedTCPPorts = [80];
|
|
|
|
|
2023-09-29 11:11:37 +03:00
|
|
|
system.stateVersion = lib.version;
|
|
|
|
|
2019-08-15 14:08:11 +03:00
|
|
|
users.users.root.password = "nixos";
|
2023-05-29 12:01:19 +03:00
|
|
|
services.openssh.settings.PermitRootLogin = lib.mkDefault "yes";
|
2021-06-22 01:27:36 +03:00
|
|
|
services.getty.autologinUser = lib.mkDefault "root";
|
2018-04-28 13:01:45 +03:00
|
|
|
}
|