From ee0b5f7edfe9fba65f9749f65377c4f519c7fc0a Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 2 Apr 2026 23:32:28 -0600 Subject: sys: prepare impermanence declarations in advance of [lustrated]'s transition --- sys/net/interfaces.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/net/interfaces.nix') diff --git a/sys/net/interfaces.nix b/sys/net/interfaces.nix index 764973c..7d45ced 100644 --- a/sys/net/interfaces.nix +++ b/sys/net/interfaces.nix @@ -102,6 +102,13 @@ in { wireguard.enable = true; }; + local.boot.impermanence.directories = optional config.networking.wireless.iwd.enable { + directory = "/var/lib/iwd"; + user = "root"; + group = "root"; + mode = "u=rwx,g=,o="; + }; + systemd.network.networks = mkIf (cfg.dhcpInterface != null) { ${cfg.dhcpInterface} = { matchConfig.Name = cfg.dhcpInterface; -- cgit v1.2.3