mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-02-22 12:55:29 +08:00
systemd: hard-code yubikey-touch-detector for now as it's not a HM module
This commit is contained in:
parent
9eb3147095
commit
56365fb9a8
1 changed files with 1 additions and 5 deletions
|
|
@ -8,9 +8,6 @@
|
|||
let
|
||||
cfg = config.sops;
|
||||
sops-install-secrets = cfg.package;
|
||||
|
||||
# Check if yubikey-touch-detector is enabled for ordering dependency
|
||||
yubikeyTouchDetectorEnabled = config.services.yubikey-touch-detector.enable or false;
|
||||
secretType = lib.types.submodule (
|
||||
{ name, ... }:
|
||||
{
|
||||
|
|
@ -410,8 +407,7 @@ in
|
|||
Unit = {
|
||||
Description = "sops-nix activation";
|
||||
After = cfg.age.systemdDeps
|
||||
++ lib.optional (cfg.age.requirePcscd && yubikeyTouchDetectorEnabled)
|
||||
"yubikey-touch-detector.service";
|
||||
++ lib.optional cfg.age.requirePcscd "yubikey-touch-detector.service";
|
||||
Wants = cfg.age.systemdDeps;
|
||||
};
|
||||
Service = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue