summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-11-03 20:40:28 +0100
committerlassulus <lassulus@lassul.us>2020-11-03 20:40:28 +0100
commit88b343292bf15269d1df3dd23198fa90c97ef485 (patch)
tree0f69b3b39c33793e340303975132c20cfcae8286
parentbd1c82c769dea90c1171988a57fb71f715447379 (diff)
github-hosts-sync: fix deprecated user definition
-rw-r--r--krebs/3modules/github-hosts-sync.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/github-hosts-sync.nix b/krebs/3modules/github-hosts-sync.nix
index 0b7d56098..7d618ebfd 100644
--- a/krebs/3modules/github-hosts-sync.nix
+++ b/krebs/3modules/github-hosts-sync.nix
@@ -62,8 +62,8 @@ let
};
};
- users.extraUsers = singleton {
- inherit (user) name uid;
+ users.users.${user.name} = {
+ inherit (user) uid;
home = cfg.dataDir;
};
};