1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nixos/timesyncd: add user systemd-timesync to group systemd-timesync

This commit is contained in:
WilliButz 2019-11-24 22:46:49 +01:00
parent 2ffb2c0bd1
commit fc91467b0d
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2

View file

@ -50,7 +50,10 @@ with lib;
${config.services.timesyncd.extraConfig}
'';
users.users.systemd-timesync.uid = config.ids.uids.systemd-timesync;
users.users.systemd-timesync = {
uid = config.ids.uids.systemd-timesync;
group = "systemd-timesync";
};
users.groups.systemd-timesync.gid = config.ids.gids.systemd-timesync;
system.activationScripts.systemd-timesyncd-migration = mkIf (versionOlder config.system.stateVersion "19.09") ''