mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
modular-services: rename home-manager -> Home Manager
Signed-off-by: cinereal <cinereal@riseup.net>
This commit is contained in:
committed by
Robert Helgesson
parent
7eb987d1a4
commit
cdea7d89f5
@@ -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 `<nixpkgs/lib/services/lib.nix>` 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`.
|
||||
|
||||
@@ -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.<unitType>` expects (Unit/Service/Install).
|
||||
# Home Manager's `systemd.user.<unitType>` 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.
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user