Skip to content

Commit

Permalink
pc0: Allow dhcp-client to receive static routes.
Browse files Browse the repository at this point in the history
  • Loading branch information
wigust committed Nov 7, 2024
1 parent b20fc8f commit 88444f6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion dotfiles/guixsd/pc0.scm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,18 @@
(services (append (list (service avahi-service-type)
(service dhcp-client-service-type
(dhcp-client-configuration
(interfaces '("eth0"))))
(interfaces '("eth0"))
(config-file
(text-file "dhclient.conf" "\
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
send host-name = gethostname();
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
netbios-name-servers, netbios-scope, interface-mtu,
rfc3442-classless-static-routes, ntp-servers;
"))))
(service openssh-service-type
(openssh-configuration
(openssh openssh-sans-x)
Expand Down

0 comments on commit 88444f6

Please sign in to comment.