nixos/localtime: make localtimed a system user

Currently, a user is created in the 1000-29999 range. This is incorrect,
as localtimed is a system service and not a user.

V 02686919 26fa0789

Changed files
+4 -5
nixos
modules
services
system
+4 -5
nixos/modules/services/system/localtime.nix
···
};
};
-
# We use the 'out' output, since localtime has its 'bin' output
-
# first, so that is what we get if we use the derivation bare.
# Install the polkit rules.
-
environment.systemPackages = [ pkgs.localtime.out ];
+
environment.systemPackages = [ pkgs.localtime ];
# Install the systemd unit.
-
systemd.packages = [ pkgs.localtime.out ];
+
systemd.packages = [ pkgs.localtime ];
users.users.localtimed = {
-
description = "Taskserver user";
+
description = "localtime daemon";
+
isSystemUser = true;
};
systemd.services.localtime = {