blob: 9835e31a6a213438a76c4885220f62c108ed7dfc [file] [log] [blame]
Skyler Greyd4397f12022-10-31 00:27:35 +00001{ config, ... }: {
2 config = {
Skyler Grey73d247f2023-02-26 12:43:52 +00003 services = {
4 nscd.enableNsncd = true;
5 dnsmasq = {
6 enable = true;
Skyler Grey37094ca2023-02-26 12:55:55 +00007 settings = {
8 server = [ "1.1.1.1" "1.0.0.1" ];
9 conf-file = config.sops.secrets."dnsmasq-private.conf".path;
10 };
Skyler Grey73d247f2023-02-26 12:43:52 +000011 };
Skyler Greyd4397f12022-10-31 00:27:35 +000012 };
13
14 sops.secrets."dnsmasq-private.conf" = {
15 format = "binary";
16 sopsFile = ../secrets/dnsmasq-private.conf;
17 };
18 };
19}