From cd2b24c3060bbe5173a746b34da3c61799c5e8d7 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Fri, 17 Sep 2021 12:00:00 +0000 Subject: [PATCH] nixos/heapster: define group, fix after #133166 --- nixos/modules/misc/ids.nix | 2 +- nixos/modules/services/monitoring/heapster.nix | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index 10926a4a6b00..919826791a01 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -244,7 +244,7 @@ in #kibana = 211;# dynamically allocated as of 2021-09-03 xtreemfs = 212; calibre-server = 213; - heapster = 214; + #heapster = 214; #dynamically allocated as of 2021-09-17 bepasty = 215; # pumpio = 216; # unused, removed 2018-02-24 nm-openvpn = 217; diff --git a/nixos/modules/services/monitoring/heapster.nix b/nixos/modules/services/monitoring/heapster.nix index 0a9dfa12eaa5..1bf7203d6823 100644 --- a/nixos/modules/services/monitoring/heapster.nix +++ b/nixos/modules/services/monitoring/heapster.nix @@ -50,8 +50,10 @@ in { }; users.users.heapster = { - uid = config.ids.uids.heapster; + isSystemUser = true; + group = "heapster"; description = "Heapster user"; }; + users.groups.heapster = {}; }; }