diff options
author | Kenny Ballou <kballou@devnulllabs.io> | 2020-06-09 18:25:51 -0600 |
---|---|---|
committer | Kenny Ballou <kballou@devnulllabs.io> | 2020-06-09 18:25:51 -0600 |
commit | 438ba3a137ec0a13a632fea596aca26631196c17 (patch) | |
tree | 9cf3d3a639faf2c77fc5f94c4ed58f699bc40765 | |
parent | 718f38cc8f1e7bf6f32f7628c4dbe31cc501366a (diff) | |
download | cfg.nix-438ba3a137ec0a13a632fea596aca26631196c17.tar.gz cfg.nix-438ba3a137ec0a13a632fea596aca26631196c17.tar.xz |
orobas: add dnsmasq overrides
I'm not entirely sure this does what I want, but I want to expand on
this idea.
Signed-off-by: Kenny Ballou <kballou@devnulllabs.io>
-rw-r--r-- | orobas/configuration.nix | 7 | ||||
-rw-r--r-- | orobas/overrides/dnsmasq.nix | 7 |
2 files changed, 13 insertions, 1 deletions
diff --git a/orobas/configuration.nix b/orobas/configuration.nix index 49453bd..16f0e70 100644 --- a/orobas/configuration.nix +++ b/orobas/configuration.nix @@ -36,13 +36,18 @@ ../programs/mtr.nix ../programs/gnupg.nix ./packages.nix + ./overrides/dnsmasq.nix ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.luks.devices.luks-9185ee93-a666-485c-a8c1-f96001a44ff9.device = "/dev/disk/by-uuid/9185ee93-a666-485c-a8c1-f96001a44ff9"; + boot.initrd.luks.devices = { + luks-9185ee93-a666-485c-a8c1-f96001a44ff9 = { + device = "/dev/disk/by-uuid/9185ee93-a666-485c-a8c1-f96001a44ff9"; + }; + }; boot.blacklistedKernelModules = [ "ip_tables" ]; diff --git a/orobas/overrides/dnsmasq.nix b/orobas/overrides/dnsmasq.nix new file mode 100644 index 0000000..b496d10 --- /dev/null +++ b/orobas/overrides/dnsmasq.nix @@ -0,0 +1,7 @@ +with builtins; +{ config, ...}: +{ + services.dnsmasq = { + servers = ["10.100.1.1"]; + }; +} |