Add more custom libs

This commit is contained in:
SebastianStork 2025-10-13 14:12:18 +02:00
parent f084e91ec0
commit 3acd35c7b2
5 changed files with 22 additions and 27 deletions

View file

@ -29,11 +29,10 @@ in
sops.secrets =
cfg.networks
|> lib.map (name: {
name = "iwd/${name}";
value.restartUnits = [ "iwd.service" ];
})
|> lib.listToAttrs;
|> lib.map (name: "iwd/${name}")
|> lib.custom.genAttrs (_: {
restartUnits = [ "iwd.service" ];
});
systemd.services.iwd.preStart = ''
rm --force /var/lib/iwd/*.{psk,8021x}