summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-29 20:02:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-29 20:02:20 +0100
commit02da52ae167b504bfa5a9b5772473a17a727615c (patch)
tree464520271059c897ceead304314a4a851068dfdd /hosts/sif/default.nix
parentf61a1a6611c2c61d9cd2505d302d8b47a9e70032 (diff)
downloadnixos-02da52ae167b504bfa5a9b5772473a17a727615c.tar
nixos-02da52ae167b504bfa5a9b5772473a17a727615c.tar.gz
nixos-02da52ae167b504bfa5a9b5772473a17a727615c.tar.bz2
nixos-02da52ae167b504bfa5a9b5772473a17a727615c.tar.xz
nixos-02da52ae167b504bfa5a9b5772473a17a727615c.zip
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix39
1 files changed, 18 insertions, 21 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 76f3c1db..4c405436 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -269,27 +269,24 @@ in {
269 services.dnsmasq = { 269 services.dnsmasq = {
270 enable = true; 270 enable = true;
271 resolveLocalQueries = false; 271 resolveLocalQueries = false;
272 servers = []; 272 settings = {
273 extraConfig = '' 273 enable-ra = true;
274 enable-ra 274 local = "/libvirt/";
275 local=/libvirt/ 275 domain-needed = true;
276 domain-needed 276 expand-hosts = true;
277 expand-hosts 277 bogus-priv = true;
278 bogus-priv 278 no-hosts = true;
279 no-hosts 279 listen-address = [ "192.168.122.1" "fd45:febc:b028::" ];
280 listen-address=192.168.122.1 280 interface = "virbr0";
281 listen-address=fd45:febc:b028:: 281 except-interface = "lo";
282 interface=virbr0 282 bind-interfaces = true;
283 except-interface=lo 283 domain = "libvirt,192.168.122.0/24";
284 bind-interfaces 284 dhcp-range = [ "192.168.122.128,192.168.122.254,1h" "fd45:febc:b028::1,fd45:febc:b028:0:ffff:ffff:ffff:ffff,ra-names,1h" ];
285 domain=libvirt,192.168.122.0/24 285 dhcp-host = [ "52:54:00:18:85:5b,sif,192.168.122.1" ];
286 dhcp-range=192.168.122.128,192.168.122.254,1h 286 dhcp-authoritative = true;
287 dhcp-range=fd45:febc:b028::1,fd45:febc:b028:0:ffff:ffff:ffff:ffff,ra-names,1h 287 dhcp-rapid-commit = true;
288 dhcp-host=52:54:00:18:85:5b,sif,192.168.122.1 288 dhcp-option = "option6:dns-server,[fd45:febc:b028::]";
289 dhcp-authoritative 289 };
290 dhcp-rapid-commit
291 dhcp-option=option6:dns-server,[fd45:febc:b028::]
292 '';
293 }; 290 };
294 systemd.services.dnsmasq = { 291 systemd.services.dnsmasq = {
295 bindsTo = ["sys-subsystem-net-devices-virbr0.device"]; 292 bindsTo = ["sys-subsystem-net-devices-virbr0.device"];