···22# central list to prevent id collisions.
3344# IMPORTANT!
55-# We only add static uids and gids for services where it is not feasible
66-# to change uids/gids on service start, for example a service with a lot of
77-# files. Please also check if the service is applicable for systemd's
88-# DynamicUser option and does not need a uid/gid allocation at all.
99-# Systemd can also change ownership of service directories using the
1010-# RuntimeDirectory/StateDirectory options.
55+#
66+# https://github.com/NixOS/rfcs/blob/master/rfcs/0052-dynamic-ids.md
77+#
88+# Use of static ids is deprecated within NixOS. Dynamic allocation is
99+# required, barring special circumstacnes. Please check if the service
1010+# is applicable for systemd's DynamicUser option and does not need a
1111+# uid/gid allocation at all. Systemd can also change ownership of
1212+# service directories using the RuntimeDirectory/StateDirectory
1313+# options.
11141215{ lib, ... }:
1316···355358 rstudio-server = 324;
356359 localtimed = 325;
357360 automatic-timezoned = 326;
358358- whisparr = 328;
359361360362 # When adding a uid, make sure it doesn't match an existing gid.
361363 #
···683685 rstudio-server = 324;
684686 localtimed = 325;
685687 automatic-timezoned = 326;
686686- uinput = 327;
687687- whisparr = 328;
688688689689 # When adding a gid, make sure it doesn't match an existing
690690 # uid. Users and groups with the same name should have equal