summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-17 12:00:00 +0000
committerYuka <yuka@yuka.dev>2021-09-18 14:42:08 +0200
commitcd2b24c3060bbe5173a746b34da3c61799c5e8d7 (patch)
tree1497d6d119fa036a59100a59858168cb3cda748c
parent9e94e48b9487281bebd37a8f2696f7b6f88240fb (diff)
downloadnixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.tar
nixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.tar.gz
nixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.tar.bz2
nixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.tar.lz
nixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.tar.xz
nixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.tar.zst
nixpkgs-cd2b24c3060bbe5173a746b34da3c61799c5e8d7.zip
nixos/heapster: define group, fix after #133166
-rw-r--r--nixos/modules/misc/ids.nix2
-rw-r--r--nixos/modules/services/monitoring/heapster.nix4
2 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 10926a4a6b0..919826791a0 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 0a9dfa12eaa..1bf7203d682 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 = {};
   };
 }