aboutsummaryrefslogtreecommitdiff
path: root/profiles/network/networkd.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-12 10:00:24 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-12 10:00:24 -0700
commiteb62ca846ac122f9aaacb10cdaec67249fbf89a7 (patch)
treed447477a3965e49814b68c9d4bf8c525c366f9ca /profiles/network/networkd.nix
parentmove disks configuration to the host' directory (diff)
downloadinfra-eb62ca846ac122f9aaacb10cdaec67249fbf89a7.tar.gz
create profiles for networkd and nix's GC
Diffstat (limited to 'profiles/network/networkd.nix')
-rw-r--r--profiles/network/networkd.nix16
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
+ '';
+ };
+}