Skip to content

restartUnit/reloadUnit options affected by NixOS deprecation #934

@stuebinm

Description

@stuebinm

Reloading or restarting units from inside the activation script is being deprecated in NixOS.

Unfortunately, this is exactly what sops-nix uses to implement the restartUnits / reloadUnits options on secrets, and consequently using these at all now produces the following line during activation script runs:

WARN: restarting or reloading systemd units from the activation script is deprecated and will be removed in NixOS 26.11.

Are there any plans on implementing support for these options in some other way in sops-nix? Or should these consequently also be considered to be deprecated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions