summaryrefslogtreecommitdiff
path: root/system-profiles/networkmanager.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system-profiles/networkmanager.nix')
-rw-r--r--system-profiles/networkmanager.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/system-profiles/networkmanager.nix b/system-profiles/networkmanager.nix
new file mode 100644
index 00000000..d1eb9cd1
--- /dev/null
+++ b/system-profiles/networkmanager.nix
@@ -0,0 +1,26 @@
1{ lib, ... }:
2
3with lib;
4
5{
6 config = {
7 networking = {
8 networkmanager = {
9 enable = true;
10 dhcp = "internal";
11 dns = mkForce "dnsmasq";
12 extraConfig = ''
13 [connectivity]
14 uri=https://online.yggdrasil.li
15 '';
16 };
17
18 dhcpcd.enable = false;
19 };
20
21 systemd.services."NetworkManager-wait-online".enable = false;
22 systemd.services."systemd-networkd-wait-online".enable = false;
23
24 services.resolved.enable = false;
25 };
26}