diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-12-09 21:23:09 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-12-09 21:23:09 +0100 |
| commit | 401ac26c942b906c2009d054df8f79005c98efe7 (patch) | |
| tree | 19bd74527dc91cdba700ab08f281297a0caa17ed | |
| parent | 1d9e3d48165c407924263371b949e7902a9e6e73 (diff) | |
| download | nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar.gz nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar.bz2 nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar.xz nixos-401ac26c942b906c2009d054df8f79005c98efe7.zip | |
NetworkManager: dnsmasq
| -rw-r--r-- | sif.nix | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -36,11 +36,18 @@ | |||
| 36 | networkmanager = { | 36 | networkmanager = { |
| 37 | enable = true; | 37 | enable = true; |
| 38 | dhcp = "internal"; | 38 | dhcp = "internal"; |
| 39 | dns = "dnsmasq"; | ||
| 39 | }; | 40 | }; |
| 40 | 41 | ||
| 41 | dhcpcd.enable = false; | 42 | dhcpcd.enable = false; |
| 42 | }; | 43 | }; |
| 43 | 44 | ||
| 45 | environment.etc."NetworkManager/dnsmasq.d/libvirtd_dnsmasq.conf" = { | ||
| 46 | text = '' | ||
| 47 | server=/sif.libvirt/192.168.122.1 | ||
| 48 | ''; | ||
| 49 | }; | ||
| 50 | |||
| 44 | powerManagement.enable = true; | 51 | powerManagement.enable = true; |
| 45 | 52 | ||
| 46 | i18n.defaultLocale = "en_US.UTF-8"; | 53 | i18n.defaultLocale = "en_US.UTF-8"; |
