Skip to content

Commit

Permalink
try wantedBy = [ "sysinit-reactivation" ];
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 15, 2024
1 parent 764764b commit 2bedc2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/op-secrets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ in {
wants = [ "network-online.target" ];
after = [ "network.target" "network-online.target" ];

# re-run on nixos-rebuild
wantedBy = [ "sysinit-reactivation.target" ];

serviceConfig = {
Type = "oneshot";
EnvironmentFile = cfg.environmentFile;
Expand Down

0 comments on commit 2bedc2b

Please sign in to comment.