summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-12-09 21:23:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-12-09 21:23:09 +0100
commit401ac26c942b906c2009d054df8f79005c98efe7 (patch)
tree19bd74527dc91cdba700ab08f281297a0caa17ed
parent1d9e3d48165c407924263371b949e7902a9e6e73 (diff)
downloadnixos-401ac26c942b906c2009d054df8f79005c98efe7.tar
nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar.gz
nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar.bz2
nixos-401ac26c942b906c2009d054df8f79005c98efe7.tar.xz
nixos-401ac26c942b906c2009d054df8f79005c98efe7.zip
NetworkManager: dnsmasq
-rw-r--r--sif.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/sif.nix b/sif.nix
index de7627ad..145379fa 100644
--- a/sif.nix
+++ b/sif.nix
@@ -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";