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

View file

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

View file

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

View file

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