summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/brockman.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-24 16:29:40 +0100
committerlassulus <lassulus@lassul.us>2021-01-24 16:29:40 +0100
commitec9c2defae862a2ba57c7d94b5697c93d5910536 (patch)
tree44e32213c1b919f092182d61f1bb83ab272081d3 /krebs/3modules/brockman.nix
parentf6e8e690bb8a95dfcf9302996f93baa5fa94f1ba (diff)
brockman: use genid for uid
Diffstat (limited to 'krebs/3modules/brockman.nix')
-rw-r--r--krebs/3modules/brockman.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/krebs/3modules/brockman.nix b/krebs/3modules/brockman.nix
index 55e8255b4..32aa3489b 100644
--- a/krebs/3modules/brockman.nix
+++ b/krebs/3modules/brockman.nix
@@ -1,5 +1,5 @@
-{ pkgs, lib, config, ... }:
-with lib;
+{ pkgs, config, ... }:
+with import <stockholm/lib>;
let
cfg = config.krebs.brockman;
in {
@@ -13,6 +13,7 @@ in {
home = "/var/lib/brockman";
createHome = true;
isNormalUser = false;
+ uid = genid_uint31 "brockman";
};
systemd.services.brockman = {