diff options
| author | makefu <github@syntax-fehler.de> | 2020-06-07 19:51:47 +0200 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2020-06-07 19:51:47 +0200 |
| commit | 44f5307c5b941c468c94f223480a562e4411d467 (patch) | |
| tree | 315612f88f65692e9c40db75f894ae0d14b20eae /tv/3modules | |
| parent | 5d6b454ff9d9c86181374b28ed041b33f58f7663 (diff) | |
| parent | 4dbed8bfab522b7b2bbb0f16ca695588ed054ab3 (diff) | |
Merge remote-tracking branch 'tv/master'
Diffstat (limited to 'tv/3modules')
| -rw-r--r-- | tv/3modules/Xresources.nix | 2 | ||||
| -rw-r--r-- | tv/3modules/dnsmasq.nix | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tv/3modules/Xresources.nix b/tv/3modules/Xresources.nix index ce7ac9a..ab233dd 100644 --- a/tv/3modules/Xresources.nix +++ b/tv/3modules/Xresources.nix @@ -1,7 +1,7 @@ with import <stockholm/lib>; { config, pkgs, ... }: let cfg = { - enable = config.tv.Xresources != {}; + enable = config.services.xserver.enable && config.tv.Xresources != {}; user = config.krebs.build.user; }; in { diff --git a/tv/3modules/dnsmasq.nix b/tv/3modules/dnsmasq.nix index ec927f9..ab24ac0 100644 --- a/tv/3modules/dnsmasq.nix +++ b/tv/3modules/dnsmasq.nix @@ -31,8 +31,9 @@ in { }; services.dnsmasq.enable = true; services.dnsmasq.extraConfig = '' + bind-interfaces dhcp-range=${cfg.dhcp-range} - interface=${cfg.interface} + listen-address=${cfg.address} ''; tv.iptables.extra.filter.INPUT = [ "-i ${cfg.interface} -p tcp -m tcp --dport bootps -j ACCEPT" |
