diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:00:24 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-08-12 10:00:24 -0700 |
| commit | eb62ca846ac122f9aaacb10cdaec67249fbf89a7 (patch) | |
| tree | d447477a3965e49814b68c9d4bf8c525c366f9ca /profiles/network/networkd.nix | |
| parent | move disks configuration to the host' directory (diff) | |
| download | infra-eb62ca846ac122f9aaacb10cdaec67249fbf89a7.tar.gz | |
create profiles for networkd and nix's GC
Diffstat (limited to 'profiles/network/networkd.nix')
| -rw-r--r-- | profiles/network/networkd.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/profiles/network/networkd.nix b/profiles/network/networkd.nix new file mode 100644 index 0000000..9081f59 --- /dev/null +++ b/profiles/network/networkd.nix @@ -0,0 +1,16 @@ +{ ... }: +{ + networking.useNetworkd = true; + + systemd.network = { + enable = true; + }; + + services.resolved = { + enable = true; + dnssec = "false"; + extraConfig = '' + DNSOverTLS=yes + ''; + }; +} |
