mirror of
https://github.com/mdlayher/homelab.git
synced 2024-12-14 11:47:32 +00:00
Merge branch 'master' of github:mdlayher/homelab
This commit is contained in:
commit
ca6421d0f0
1 changed files with 8 additions and 3 deletions
|
@ -1,11 +1,16 @@
|
|||
{ lib, ... }:
|
||||
|
||||
let vars = import ./lib/vars.nix;
|
||||
let
|
||||
vars = import ./lib/vars.nix;
|
||||
unstable = import <nixos-unstable-small> { };
|
||||
|
||||
in {
|
||||
services.corerad = {
|
||||
enable = true;
|
||||
|
||||
# Use unstable for newer CoreRAD.
|
||||
package = unstable.corerad;
|
||||
|
||||
settings = with vars.interfaces; {
|
||||
# Base non-interface configuration.
|
||||
debug = {
|
||||
|
@ -33,8 +38,8 @@ in {
|
|||
# Advertise all /64 prefixes on the interface.
|
||||
prefix = [{ prefix = "::/64"; }];
|
||||
|
||||
# Use the router's ULA address as a DNS server.
|
||||
rdnss = [{ servers = [ ifi.ipv6.ula ]; }];
|
||||
# Automatically use the appropriate interface address as a DNS server.
|
||||
rdnss = [{ servers = ["::"]; }];
|
||||
|
||||
# Configure DNS search on some trusted LANs, or omit otherwise.
|
||||
dnssl = [{ domain_names = [ vars.domain ]; }];
|
||||
|
|
Loading…
Reference in a new issue