@@ -1,6 +1,14 @@
11# This module defines the global list of uids and gids. We keep a
22# central list to prevent id collisions.
33
4+# IMPORTANT!
5+# We only add static uids and gids for services where it is not feasible
6+# to change uids/gids on service start, in example a service with a lot of
7+# files. Please also check if the service is applicable for systemd's
8+# DynamicUser option and does not need a uid/gid allocation at all.
9+# Systemd can also change ownership of service directories using the
10+# RuntimeDirectory/StateDirectory options.
11+
412{ config, pkgs, lib, ... }:
513
614{