Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nix config snippet to restart sops-nix service #491

Merged
merged 2 commits into from
Feb 20, 2024

Commits on Feb 15, 2024

  1. add nix config snippet to restart sops-nix service

    As home-manager does not restart the `sops-nix` unit automatically
    a snippet to instruct home-manager to do so is added.
    
    Home-manager could be instructed to restart the user service from the
    sops-nix home-manager module instead. Usually home-manager restarts
    units which changed. Since the sops-nix unit does not change when
    secrets change this does not trigger automatically.
    
    There are two options:
    - let sops-nix home-manager module compute a chained hash over all
      secrets and place it inside the unit file, so it changes every time
      the secrets change
    - use X-SwitchMethod and X-Restart-Triggers
      See nix-community/home-manager#3865
    w4tsn committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    ef3922f View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Configuration menu
    Copy the full SHA
    3602358 View commit details
    Browse the repository at this point in the history