diff --git a/nixos/modules/programs/yubikey-touch-detector.nix b/nixos/modules/programs/yubikey-touch-detector.nix index 42beabbc4e94a..2986c13443279 100644 --- a/nixos/modules/programs/yubikey-touch-detector.nix +++ b/nixos/modules/programs/yubikey-touch-detector.nix @@ -55,6 +55,7 @@ in }; wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; }; systemd.user.sockets.yubikey-touch-detector = { wantedBy = [ "sockets.target" ];