mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
module moving mostly done
This commit is contained in:
parent
a9de747c25
commit
e78a971b9b
33 changed files with 455 additions and 447 deletions
30
modules/misc.nix
Normal file
30
modules/misc.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue