2024-08-28 05:44:22 +08:00
|
|
|
{ pkgs, ... }:
|
2024-08-25 23:02:35 +08:00
|
|
|
{
|
2024-09-21 01:38:01 +08:00
|
|
|
imports = [ ../prometheus ];
|
2024-08-30 01:42:37 +08:00
|
|
|
|
2024-09-21 01:38:01 +08:00
|
|
|
environment.systemPackages = with pkgs; [ foot.terminfo ];
|
2024-08-02 06:17:30 +08:00
|
|
|
|
2024-08-28 05:44:22 +08:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings.PermitRootLogin = "prohibit-password";
|
|
|
|
settings.PasswordAuthentication = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users."root".openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMmd/uqiBahzKcKMJ+gT3dkUIdrWQgudspsDchDlx1E/ guanran928@outlook.com"
|
|
|
|
];
|
2024-08-23 16:10:31 +08:00
|
|
|
|
|
|
|
time.timeZone = "UTC";
|
2024-08-31 10:15:09 +08:00
|
|
|
|
|
|
|
networking.domain = "ny4.dev";
|
2023-12-30 22:41:46 +08:00
|
|
|
}
|