mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 02:27:44 +00:00
Start refactor
This commit is contained in:
parent
99b7ccfadb
commit
06cce18e72
155 changed files with 2139 additions and 3738 deletions
14
modules/darwin/dns.nix
Normal file
14
modules/darwin/dns.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, lib, ... }: let
|
||||
inherit (lib) head map splitString;
|
||||
in {
|
||||
# Yeah, no DNSSEC or DoT or anything.
|
||||
# That's what you get for using Darwin I guess.
|
||||
networking.dns = config.dnsServers
|
||||
|> map (splitString "#")
|
||||
|> map head;
|
||||
|
||||
networking.knownNetworkServices = [
|
||||
"Thunderbolt Bridge"
|
||||
"Wi-Fi"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue