summaryrefslogtreecommitdiff
path: root/hosts/sif
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/sif')
-rw-r--r--hosts/sif/default.nix17
1 files changed, 1 insertions, 16 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 24cc86ac..647021ca 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -14,6 +14,7 @@ in {
14 ./hw.nix 14 ./hw.nix
15 ./mail 15 ./mail
16 initrd-all-crypto-modules default-locale openssh rebuild-machines 16 initrd-all-crypto-modules default-locale openssh rebuild-machines
17 networkmanager
17 ]; 18 ];
18 19
19 config = { 20 config = {
@@ -71,16 +72,6 @@ in {
71 ]; 72 ];
72 }; 73 };
73 74
74 networkmanager = {
75 enable = true;
76 dhcp = "internal";
77 dns = lib.mkForce "dnsmasq";
78 extraConfig = ''
79 [connectivity]
80 uri=https://online.yggdrasil.li
81 '';
82 };
83
84 # wlanInterfaces = { 75 # wlanInterfaces = {
85 # wlan0 = { 76 # wlan0 = {
86 # device = "wlp82s0"; 77 # device = "wlp82s0";
@@ -98,7 +89,6 @@ in {
98 # }; 89 # };
99 # }; 90 # };
100 91
101 dhcpcd.enable = false;
102 useDHCP = false; 92 useDHCP = false;
103 useNetworkd = true; 93 useNetworkd = true;
104 94
@@ -109,9 +99,6 @@ in {
109 # }; 99 # };
110 }; 100 };
111 101
112 systemd.services."NetworkManager-wait-online".enable = false;
113 systemd.services."systemd-networkd-wait-online".enable = false;
114
115 environment.etc."NetworkManager/dnsmasq.d/libvirtd_dnsmasq.conf" = { 102 environment.etc."NetworkManager/dnsmasq.d/libvirtd_dnsmasq.conf" = {
116 text = '' 103 text = ''
117 server=/sif.libvirt/192.168.122.1 104 server=/sif.libvirt/192.168.122.1
@@ -205,8 +192,6 @@ in {
205 }; 192 };
206 networking.networkmanager.unmanaged = ["wgrz"]; 193 networking.networkmanager.unmanaged = ["wgrz"];
207 194
208 services.resolved.enable = false;
209
210 services.openssh.enable = true; 195 services.openssh.enable = true;
211 196
212 powerManagement = { 197 powerManagement = {