module moving mostly done

This commit is contained in:
Gerg-L 2023-02-21 22:30:10 -05:00
parent a9de747c25
commit e78a971b9b
33 changed files with 455 additions and 447 deletions

30
modules/misc.nix Normal file
View file

@ -0,0 +1,30 @@
_: {
#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";
}