mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
30 lines
565 B
Nix
30 lines
565 B
Nix
_: {
|
|
#enable ssh
|
|
programs = {
|
|
mtr.enable = true; #ping and traceroute
|
|
gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = true;
|
|
};
|
|
};
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PermitRootLogin = "yes";
|
|
PasswordAuthentication = false;
|
|
KbdInteractiveAuthentication = false;
|
|
};
|
|
};
|
|
|
|
#time settings
|
|
time.timeZone = "America/New_York";
|
|
services = {
|
|
timesyncd = {
|
|
enable = true;
|
|
servers = [
|
|
"time.cloudflare.com"
|
|
];
|
|
};
|
|
};
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
}
|