Explicitly declare hosts and nameservers in general config

inky
Elnu 1 year ago
parent f3849e3eb6
commit 2ce25bb218

@ -22,6 +22,21 @@
extraOptions = "experimental-features = nix-command flakes"; extraOptions = "experimental-features = nix-command flakes";
}; };
networking = {
networkmanager.enable = true;
# networking.nameservers doesn't apply to resolvconf
#nameservers = [ "9.9.9.9" "1.1.1.1" ];
resolvconf.extraConfig = "name_servers=\"9.9.9.9 1.1.1.1\"";
# Temporary since MagicDNS is broken
hosts = {
"192.168.0.26" = [ "elnuhub.local" ];
"24.199.72.8" = [ "elnudrop.local" ];
"100.64.0.1" = [ "elnu" ];
"100.64.0.2" = [ "elnuhub" ];
"100.64.0.3" = [ "elnudrop" ];
};
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

@ -32,13 +32,6 @@ in
gvfs.enable = true; # For Trash gvfs.enable = true; # For Trash
}; };
networking = {
networkmanager.enable = true;
# networking.nameservers doesn't apply to resolvconf
# nameservers = [ "9.9.9.9" "1.1.1.1" ];
resolvconf.extraConfig = "name_servers=\"9.9.9.9 1.1.1.1\"";
};
xdg.portal.enable = true; xdg.portal.enable = true;
environment.systemPackages = with pkgs; [ yubioath-flutter ]; environment.systemPackages = with pkgs; [ yubioath-flutter ];

Loading…
Cancel
Save