modules: more fmting

This commit is contained in:
notohh 2024-02-01 16:03:44 -05:00
parent 034bc87e37
commit 74c6055414
Signed by: notohh
GPG key ID: BD47506D475EE86D
4 changed files with 55 additions and 51 deletions

View file

@ -43,14 +43,14 @@
boot.kernelModules = ["tcp_bbr"];
services.openssh.settings.LogLevel = "VERBOSE";
security.acme = {
acceptTerms = true;
defaults.email = "github@notohh.dev";
};
services.fail2ban = {
services = {
openssh.settings.LogLevel = "VERBOSE";
fail2ban = {
enable = true;
bantime = "1h";
maxretry = 1;
@ -71,4 +71,5 @@
};
};
};
};
}

View file

@ -13,8 +13,6 @@
tailscale.enable = true;
};
time.timeZone = "America/New_York";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {

View file

@ -1,5 +1,8 @@
_: {
services.chrony = {
time.timeZone = "America/New_York";
services = {
chrony = {
enable = true;
servers = [
# 0.us.pool.ntp.org
@ -9,8 +12,7 @@ _: {
"192.92.6.30"
];
};
services.timesyncd = {
timesyncd = {
enable = true;
servers = [
# 0.us.pool.ntp.org
@ -20,4 +22,5 @@ _: {
"192.92.6.30"
];
};
};
}

View file

@ -1,6 +1,7 @@
_: {
virtualisation.oci-containers.backend = "docker";
virtualisation.docker = {
virtualisation = {
oci-containers.backend = "docker";
docker = {
enable = true;
enableOnBoot = true;
autoPrune = {
@ -14,4 +15,5 @@ _: {
"/run/docker.sock"
];
};
};
}