dns configuration with networkmanager

This commit is contained in:
bogale 2026-11-07 15:00:09 +09:00
commit c31dc86310
5 changed files with 44 additions and 51 deletions

View file

@ -34,7 +34,15 @@
];
i18n.defaultLocale = "ru_RU.UTF-8";
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
networking.networkmanager.enable = true;
networking.networkmanager = {
enable = true;
insertNameservers = [
"1.0.0.2"
"1.1.1.2"
"2606:4700:4700::1002"
"2606:4700:4700::1112"
];
};
nix.settings.experimental-features = [
"flakes"
"nix-command"