mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 06:04:57 +08:00
README: fix Home Manager Systemd unit configuration
Since Home Manager relies on the naming scheme used by Systemd, the current way to set a dependent service defined in the README fails as Systemd doesn't support it.
This commit is contained in:
parent
5745e46834
commit
207df45fb4
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@ The actual sops configuration is in the `sops` namespace in your home.nix (or in
|
|||
The secrets are decrypted in a systemd user service called `sops-nix`, so other services needing secrets must order after it:
|
||||
```nix
|
||||
{
|
||||
systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ];
|
||||
systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ];
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue