about summary refs log tree commit diff
path: root/nixos/doc/manual/administration/service-mgmt.chapter.md
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/doc/manual/administration/service-mgmt.chapter.md')
-rw-r--r--nixos/doc/manual/administration/service-mgmt.chapter.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/doc/manual/administration/service-mgmt.chapter.md b/nixos/doc/manual/administration/service-mgmt.chapter.md
index bc9bdbe3708b..49e8d801fb80 100644
--- a/nixos/doc/manual/administration/service-mgmt.chapter.md
+++ b/nixos/doc/manual/administration/service-mgmt.chapter.md
@@ -82,7 +82,9 @@ In order to enable a systemd *system* service with provided upstream
 package, use (e.g):
 
 ```nix
-systemd.packages = [ pkgs.packagekit ];
+{
+  systemd.packages = [ pkgs.packagekit ];
+}
 ```
 
 Usually NixOS modules written by the community do the above, plus take