diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-07-26 16:20:23 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-07-26 16:20:23 -0400 |
| commit | 266cbceb19197d4dd2c95bd2c62c79d23ae95ef9 (patch) | |
| tree | 2200222c5b12bb4cf96c66eff5561cc5a2ce50e7 /joeyconfig.hs | |
| parent | 939c642d14b5ecc3289e0bc0a55355201c6db3e1 (diff) | |
propellor spin
Diffstat (limited to 'joeyconfig.hs')
| -rw-r--r-- | joeyconfig.hs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/joeyconfig.hs b/joeyconfig.hs index be7b9ef0..fd477111 100644 --- a/joeyconfig.hs +++ b/joeyconfig.hs @@ -197,8 +197,10 @@ honeybee = host "honeybee.kitenet.net" $ props & Apt.serviceInstalledRunning "ntp" -- Home router - & Network.dhcp "eth0" `requires` Network.cleanInterfacesFile - -- todo configure wlan0 on ip 10.1.1.1 + & Network.dhcp "eth0" + `requires` Network.cleanInterfacesFile + & Network.static "wlan0" (IPv4 "10.1.1.1") Nothing + `requires` Network.cleanInterfacesFile & Apt.serviceInstalledRunning "hostapd" -- todo write hostapd.conf 1st & Apt.serviceInstalledRunning "dnsmasq" -- todo write dnsmasq.conf file & JoeySites.ipmasq "eth0" "wlan0" @@ -234,7 +236,7 @@ kite = host "kite.kitenet.net" $ props , (SshEd25519, "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFZftKMnH/zH29BHMKbcBO4QsgTrstYFVhbrzrlRzBO3") ] - & Network.static "eth0" `requires` Network.cleanInterfacesFile + & Network.preserveStatic "eth0" `requires` Network.cleanInterfacesFile & Apt.installed ["linux-image-amd64"] & Linode.serialGrub & Linode.mlocateEnabled |
