diff options
author | WilliButz <wbutz@cyberfnord.de> | 2019-11-24 22:46:49 +0100 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2019-11-25 10:46:28 +0100 |
commit | fc91467b0d22603de22c698f80d6217b215e688b (patch) | |
tree | 891cd760c67cb85ec7f104966f94c4a8fc31b14f /nixos | |
parent | 2ffb2c0bd10e393ec530ecf85d7e01c59d5569d0 (diff) | |
download | nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.tar nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.tar.gz nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.tar.bz2 nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.tar.lz nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.tar.xz nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.tar.zst nixpkgs-fc91467b0d22603de22c698f80d6217b215e688b.zip |
nixos/timesyncd: add user systemd-timesync to group systemd-timesync
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/timesyncd.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/timesyncd.nix b/nixos/modules/system/boot/timesyncd.nix index 0b1d0ff6c22..9e2f36ca01f 100644 --- a/nixos/modules/system/boot/timesyncd.nix +++ b/nixos/modules/system/boot/timesyncd.nix @@ -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") '' |