Skyler Grey | d4397f1 | 2022-10-31 00:27:35 +0000 | [diff] [blame] | 1 | { config, ... }: { |
| 2 | config = { |
Skyler Grey | 73d247f | 2023-02-26 12:43:52 +0000 | [diff] [blame] | 3 | services = { |
| 4 | nscd.enableNsncd = true; |
| 5 | dnsmasq = { |
| 6 | enable = true; |
| 7 | servers = [ "1.1.1.1" "1.0.0.1" ]; |
Skyler Grey | d4397f1 | 2022-10-31 00:27:35 +0000 | [diff] [blame] | 8 | |
Skyler Grey | 73d247f | 2023-02-26 12:43:52 +0000 | [diff] [blame] | 9 | extraConfig = '' |
| 10 | conf-file=${config.sops.secrets."dnsmasq-private.conf".path} |
| 11 | ''; |
| 12 | }; |
Skyler Grey | d4397f1 | 2022-10-31 00:27:35 +0000 | [diff] [blame] | 13 | }; |
| 14 | |
| 15 | sops.secrets."dnsmasq-private.conf" = { |
| 16 | format = "binary"; |
| 17 | sopsFile = ../secrets/dnsmasq-private.conf; |
| 18 | }; |
| 19 | }; |
| 20 | } |