diff --git a/modules/system.nix b/modules/system.nix index 1f5b870..035a28b 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -33,7 +33,19 @@ in { time.timeZone = "Europe/Warsaw"; hardware.pulseaudio.enable = true; - networking.networkmanager.enable = true; + + networking.networkmanager = { + enable = true; + dns = "systemd-resolved"; + }; + services.resolved = { + enable = true; + fallbackDns = [ + "9.9.9.9" + "2620:fe::fe" + ]; + }; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; nixpkgs.overlays = import ../pkgs args; nixpkgs.config.allowUnfree = true; @@ -66,4 +78,4 @@ in { python311 ]; }; -} \ No newline at end of file +}