about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMichele Guerini Rocco <rnhmjoj@users.noreply.github.com>2021-09-21 13:35:30 +0200
committerGitHub <noreply@github.com>2021-09-21 13:35:30 +0200
commit806e2b36432ca99f995073d1f73da21ad9f3f44e (patch)
tree416f68167633cd4a1d553d80cabfcf7b4874141e /nixos
parent9daeb99fe65c02404278444bf3029c9b2ebb6ce4 (diff)
parentfade6648c75f7770578097aa09096e373d151231 (diff)
downloadnixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.tar
nixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.tar.gz
nixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.tar.bz2
nixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.tar.lz
nixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.tar.xz
nixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.tar.zst
nixlib-806e2b36432ca99f995073d1f73da21ad9f3f44e.zip
Merge pull request #138748 from dschrempf/localtimed_nogroup
nixos/localtimed: nogroup fix
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/system/localtime.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/system/localtime.nix b/nixos/modules/services/system/localtime.nix
index bb99e5e36ff8..8f23454af9df 100644
--- a/nixos/modules/services/system/localtime.nix
+++ b/nixos/modules/services/system/localtime.nix
@@ -37,7 +37,9 @@ in {
     users.users.localtimed = {
       description = "localtime daemon";
       isSystemUser = true;
+      group = "localtimed";
     };
+    users.groups.localtimed = {};
 
     systemd.services.localtime = {
       wantedBy = [ "multi-user.target" ];