summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-07-15 13:08:03 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-07-15 13:08:03 +0200
commite791b0d37600209ff5ee6eb85434feded6b8a0a9 (patch)
tree03fa6fe0a6e8a003b24909f9850ef663c7acc7ab
parent9c415af0c77581cea138c7bd4e229ee9d2dd8aa5 (diff)
downloadnixos-e791b0d37600209ff5ee6eb85434feded6b8a0a9.tar
nixos-e791b0d37600209ff5ee6eb85434feded6b8a0a9.tar.gz
nixos-e791b0d37600209ff5ee6eb85434feded6b8a0a9.tar.bz2
nixos-e791b0d37600209ff5ee6eb85434feded6b8a0a9.tar.xz
nixos-e791b0d37600209ff5ee6eb85434feded6b8a0a9.zip
disable dhcpcd & switch to resolved
-rw-r--r--hel.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/hel.nix b/hel.nix
index 27ffe976..3ac5c864 100644
--- a/hel.nix
+++ b/hel.nix
@@ -42,16 +42,16 @@
42 42
43 networkmanager = { 43 networkmanager = {
44 enable = true; 44 enable = true;
45 unmanaged = [ "docker0" "yggdrasil" ]; 45 unmanaged = [ "docker0" ];
46 dns = "systemd-resolved";
46 }; 47 };
47 48
48 dhcpcd = { 49 dhcpcd.enable = false;
49 allowInterfaces = []; 50 };
50 extraConfig = '' 51
51 interface yggdrasil 52 services.resolved = {
52 noipv4ll 53 enable = true;
53 ''; 54 domains = ["midgard.yggdrasil" "asgard.yggdrasil" "yggdrasil"];
54 };
55 }; 55 };
56 56
57 systemd.services."modem-manager" = { 57 systemd.services."modem-manager" = {