diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-12 18:40:38 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-12 18:40:38 +0100 |
commit | ae278d745dd8eca94374b27c1fa9a977e54c23c2 (patch) | |
tree | 934702c425a46496b046579b6f3f4bacada36e4a /hosts/sif/default.nix | |
parent | 1f4ff029be789298f7732d6f2a153a234cbb5267 (diff) | |
download | nixos-ae278d745dd8eca94374b27c1fa9a977e54c23c2.tar nixos-ae278d745dd8eca94374b27c1fa9a977e54c23c2.tar.gz nixos-ae278d745dd8eca94374b27c1fa9a977e54c23c2.tar.bz2 nixos-ae278d745dd8eca94374b27c1fa9a977e54c23c2.tar.xz nixos-ae278d745dd8eca94374b27c1fa9a977e54c23c2.zip |
vidhar: netboot installer
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 17 |
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 | 15 | ||
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 = { |