Skip to content

Instantly share code, notes, and snippets.

@cransom
Created July 15, 2023 17:11
Show Gist options
  • Save cransom/25c3aadf8d98ca589cf9d481e0b68283 to your computer and use it in GitHub Desktop.
Save cransom/25c3aadf8d98ca589cf9d481e0b68283 to your computer and use it in GitHub Desktop.
systemd.services.sopsProvision = {
wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ];
serviceConfig.ExecStart = pkgs.writeShellScript "sopsProvision" config.system.activationScripts.setupSecrets.text;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment