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; |
Skyler Grey | 37094ca | 2023-02-26 12:55:55 +0000 | [diff] [blame] | 7 | settings = { |
| 8 | server = [ "1.1.1.1" "1.0.0.1" ]; |
| 9 | conf-file = config.sops.secrets."dnsmasq-private.conf".path; |
| 10 | }; |
Skyler Grey | 73d247f | 2023-02-26 12:43:52 +0000 | [diff] [blame] | 11 | }; |
Skyler Grey | d4397f1 | 2022-10-31 00:27:35 +0000 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | sops.secrets."dnsmasq-private.conf" = { |
| 15 | format = "binary"; |
| 16 | sopsFile = ../secrets/dnsmasq-private.conf; |
| 17 | }; |
| 18 | }; |
| 19 | } |