diff --git a/hosts/configuration.nix b/hosts/configuration.nix index d4096ba..16c4b23 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -22,6 +22,21 @@ 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 # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/hosts/desktop.nix b/hosts/desktop.nix index fd9d3a0..23afc22 100644 --- a/hosts/desktop.nix +++ b/hosts/desktop.nix @@ -32,13 +32,6 @@ in 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; environment.systemPackages = with pkgs; [ yubioath-flutter ];