about summary refs log tree commit diff
path: root/nixos/modules/services/scheduling
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-08-08 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-12 14:59:30 +0200
commitbc3bca822a32fbbc73a9d55394991cef92dba3b9 (patch)
tree04d54d294f1869dd6f874e92eb5f2c094eef3b7f /nixos/modules/services/scheduling
parent0f15a8f489b04a7d0086edf27920ba15fa1de0d3 (diff)
nixos: define the primary group of users where needed
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r--nixos/modules/services/scheduling/atd.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/atd.nix b/nixos/modules/services/scheduling/atd.nix
index 37f6651ec4cf2..9bb0191ee469a 100644
--- a/nixos/modules/services/scheduling/atd.nix
+++ b/nixos/modules/services/scheduling/atd.nix
@@ -58,7 +58,9 @@ in
     security.pam.services.atd = {};
 
     users.users.atd =
-      { uid = config.ids.uids.atd;
+      {
+        uid = config.ids.uids.atd;
+        group = "atd";
         description = "atd user";
         home = "/var/empty";
       };