Users, Networking, Firewall and whatnot

This commit is contained in:
xmm 2024-12-10 20:27:46 -03:00 committed by xmm16
commit 339dc535d7
No known key found for this signature in database
2 changed files with 452 additions and 1 deletions

View file

@ -29,9 +29,55 @@
enable32Bit = false;
};
networking.networkmanager.enable = true;
networking.networkmanager = {
enable = true;
dns = "systemd-resolved";
ethernet = {
macAddress = "random";
};
wifi = {
backend = "iwd";
macAddress = "random";
};
};
networking.nameservers = [
"1.1.1.1#one.one.one.one"
"1.0.0.1#one.one.one.one"
"2606:4700:4700::1111#one.one.one.one"
"2606:4700:4700::1001#one.one.one.one"
];
services.resolved = {
enable = true;
dnssec = "true";
domains = ["~."];
fallbackDns = [
"1.1.1.1#one.one.one.one"
"1.0.0.1#one.one.one.one"
"2606:4700:4700::1111#one.one.one.one"
"2606:4700:4700::1001#one.one.one.one"
];
dnsovertls = "true";
llmnr = "false";
};
networking.firewall.enable = true;
time.timeZone = "America/Montevideo";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
system.stateVersion = "24.11";
};
}