l 2 weechat: get genid from krebs.lib

This commit is contained in:
lassulus 2016-02-21 14:31:12 +01:00
parent 2d912a9d6d
commit ae79a451c2

View File

@ -1,14 +1,16 @@
{ config, lib, pkgs, ... }:
{
krebs.per-user.chat.packages = [
pkgs.weechat
pkgs.tmux
let
inherit (config.krebs.lib) genid;
in {
krebs.per-user.chat.packages = with pkgs; [
tmux
weechat
];
users.extraUsers.chat = {
home = "/home/chat";
uid = lib.genid "chat";
uid = genid "chat";
useDefaultShell = true;
createHome = true;
openssh.authorizedKeys.keys = [