aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-06-12 02:52:52 +0200
committerIsabella Bastaja <isabella@sorre.xyz>2026-06-12 02:53:17 +0200
commitd491aece398c9933d20d3acf18db533f92c37b0d (patch)
treed0911f6d3dadac6bb0afb93faea3a1e372f503e7
parentb95295d2643c722ba258388d54c8115d3801ba96 (diff)
nyaan: run iwd network population after secrets are installed
-rw-r--r--hosts/nyaan/network.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/nyaan/network.nix b/hosts/nyaan/network.nix
index 703ad5d..98b5be7 100644
--- a/hosts/nyaan/network.nix
+++ b/hosts/nyaan/network.nix
@@ -85,6 +85,7 @@ in
secrets."wireless.env" = {
sopsFile = ../../secrets/wireless.env;
format = "dotenv";
+ reloadUnits = [ "iwd.service" ];
};
};
@@ -146,6 +147,7 @@ in
description = "Pre-populates network configs for iwd";
before = [ "iwd.service" ];
wantedBy = [ "iwd.service" ];
+ after = [ "sops-install-secrets.service" ];
serviceConfig = {
EnvironmentFile = "${secrets."wireless.env".path}";