Skip to content

Commit

Permalink
fix: restart opnix on nixos-rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 15, 2024
1 parent 0c11080 commit 790e1af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/op-secrets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,13 @@ in {
serviceConfig = {
Type = "oneshot";
EnvironmentFile = cfg.environmentFile;
Restart = "always";
};

script = ''
${scripts.installSecrets}
${scripts.chownSecrets}
'';

restartTriggers = [ (builtins.toString cfg) ];
};
}
{
Expand Down

0 comments on commit 790e1af

Please sign in to comment.