diff --git a/docs/manual/usage/modular-services.md b/docs/manual/usage/modular-services.md index 9732f2b08..eb0d53d66 100644 --- a/docs/manual/usage/modular-services.md +++ b/docs/manual/usage/modular-services.md @@ -2,7 +2,7 @@ Home Manager supports nixpkgs [modular services](https://nixos.org/manual/nixos/unstable/#modular-services) -under [](#opt-home.services). This is the home-manager analog to the +under [](#opt-home.services). This is the Home Manager analog to the NixOS `system.services` namespace: each entry is an abstract service sourced from `` with the upstream portable systemd module loaded into it, so service modules shipped with packages @@ -35,7 +35,7 @@ Each service exposes the upstream NixOS-style schema: [`process.argv`], `systemd.services`, `systemd.sockets`. Lifted units are translated from NixOS-style attrs (`wantedBy`, `serviceConfig`, `unitConfig`, `environment`, ...) into the section-based INI shape -(`{ Unit; Service; Install; }`) that home-manager's +(`{ Unit; Service; Install; }`) that Home Manager's [](#opt-systemd.user.services) consumes. Only common keys are mapped explicitly; uncommon options remain reachable via `unitConfig`, `serviceConfig`, or `socketConfig`. diff --git a/modules/services-modular/default.nix b/modules/services-modular/default.nix index 4813a373c..8b0dc50c2 100644 --- a/modules/services-modular/default.nix +++ b/modules/services-modular/default.nix @@ -24,7 +24,7 @@ let # Translate a NixOS-style systemd unit attrset (wantedBy, serviceConfig, # unitConfig, environment, ...) into the section-based INI shape that - # home-manager's `systemd.user.` expects (Unit/Service/Install). + # Home Manager's `systemd.user.` expects (Unit/Service/Install). # Only the common keys are mapped; uncommon options can still be set # explicitly via `unitConfig` / `serviceConfig` / `socketConfig`. unitAttrKeys = [ @@ -148,11 +148,11 @@ in options.home.services = mkOption { description = '' - Home-Manager [modular services](https://nixos.org/manual/nixos/unstable/#modular-services). + Home Manager [modular services](https://nixos.org/manual/nixos/unstable/#modular-services). Each entry is an abstract service that may declare a {option}`process.argv` - and home-manager-style {option}`systemd.user.{services,sockets}` units - (INI section shape). Units are emitted under home-manager's + and Home Manager-style {option}`systemd.user.{services,sockets}` units + (INI section shape). Units are emitted under Home Manager's {option}`systemd.user.services` (and friends) with the service name as a prefix. Mirrors {option}`system.services` in NixOS. '';