2024-12-10 23:27:40 +00:00
|
|
|
{...}: {
|
2024-12-10 20:01:46 -03:00
|
|
|
imports = [
|
|
|
|
./hardware.nix
|
2024-12-10 23:09:44 -03:00
|
|
|
./system.nix
|
|
|
|
./users.nix
|
2024-12-10 20:01:46 -03:00
|
|
|
./fonts.nix
|
2024-12-12 16:30:23 -03:00
|
|
|
./sound.nix
|
2024-12-10 20:01:46 -03:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
console = {
|
|
|
|
font = "Lat2-Terminus16";
|
2024-12-12 20:34:36 -03:00
|
|
|
useXkbConfig = true;
|
|
|
|
earlySetup = true;
|
2024-12-10 20:01:46 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
xserver.xkb = {
|
|
|
|
layout = "us";
|
|
|
|
};
|
|
|
|
libinput.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-12-10 20:27:46 -03:00
|
|
|
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;
|
|
|
|
|
2024-12-10 20:01:46 -03:00
|
|
|
time.timeZone = "America/Montevideo";
|
2024-12-12 18:15:28 -03:00
|
|
|
i18n.defaultLocale = "es_UY.UTF-8";
|
2024-12-10 20:27:46 -03:00
|
|
|
i18n.extraLocaleSettings = {
|
2024-12-12 18:15:28 -03:00
|
|
|
LC_ADDRESS = "es_UY.UTF-8";
|
|
|
|
LC_IDENTIFICATION = "es_UY.UTF-8";
|
|
|
|
LC_MEASUREMENT = "es_UY.UTF-8";
|
|
|
|
LC_MONETARY = "es_UY.UTF-8";
|
|
|
|
LC_NAME = "es_UY.UTF-8";
|
|
|
|
LC_NUMERIC = "es_UY.UTF-8";
|
|
|
|
LC_PAPER = "es_UY.UTF-8";
|
|
|
|
LC_TELEPHONE = "es_UY.UTF-8";
|
|
|
|
LC_TIME = "es_UY.UTF-8";
|
2024-12-10 20:27:46 -03:00
|
|
|
};
|
|
|
|
|
2024-12-10 20:01:46 -03:00
|
|
|
system.stateVersion = "24.11";
|
|
|
|
};
|
|
|
|
}
|