You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: A definition for option `home-manager.users.[REDACTED].systemd.user.services.foo.overrideStrategy' is not of type `attribute set of (boolean or signed integer or string or path or list of (boolean or signed integer or string or path))'.
Description
NixOS allows defining
foo.service.d
drop in files usingsystemd.user.services.<name>.overrideStrategy
. How do I do the same with home-manager?I tried various things, but do not get the result I would expect, a
~/.config/systemd/user/foo.service.d/override.conf
file containing:causes:
creates
~/.config/systemd/user/foo.service
:which overrides the whole
foo.service
installed by NixOS.creates
~/.config/systemd/user/foo.service
:which again overrides the whole
foo.service
installed by NixOS.causes:
I also skimmed through https://github.com/nix-community/home-manager/blob/44677a1c96810a8e8c4ffaeaad10c842402647c1/modules/systemd.nix but could not figure out how systemd service drop-ins are supposed to work.
My
flake.nix
:The text was updated successfully, but these errors were encountered: