about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-18 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-18 12:00:00 +0000
commit6cf8b27fd669eb19b63d4d25acc1b08460c0dd71 (patch)
tree0b2e98a7a9b73f965b4a6fcad2d8adb4364d6788
parenta92dd171bae2db6eeff74a3d31fa99e47e793359 (diff)
nixos/rdnssd: define group; fix after #133166
-rw-r--r--nixos/modules/misc/ids.nix2
-rw-r--r--nixos/modules/services/networking/rdnssd.nix4
2 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index b958922c0e474..c22075de1c936 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -220,7 +220,7 @@ in
       zope2 = 185;
       ripple-data-api = 186;
       mediatomb = 187;
-      rdnssd = 188;
+      #rdnssd = 188; #dynamically allocated as of 2021-09-18
       ihaskell = 189;
       i2p = 190;
       lambdabot = 191;
diff --git a/nixos/modules/services/networking/rdnssd.nix b/nixos/modules/services/networking/rdnssd.nix
index 469504c43172f..fd04bb8108f0c 100644
--- a/nixos/modules/services/networking/rdnssd.nix
+++ b/nixos/modules/services/networking/rdnssd.nix
@@ -72,8 +72,10 @@ in
 
     users.users.rdnssd = {
       description = "RDNSSD Daemon User";
-      uid = config.ids.uids.rdnssd;
+      isSystemUser = true;
+      group = "rdnssd";
     };
+    users.groups.rdnssd = {};
 
   };