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, ... }: { config, lib, pkgs, ... }:
{ let
krebs.per-user.chat.packages = [ inherit (config.krebs.lib) genid;
pkgs.weechat in {
pkgs.tmux krebs.per-user.chat.packages = with pkgs; [
tmux
weechat
]; ];
users.extraUsers.chat = { users.extraUsers.chat = {
home = "/home/chat"; home = "/home/chat";
uid = lib.genid "chat"; uid = genid "chat";
useDefaultShell = true; useDefaultShell = true;
createHome = true; createHome = true;
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [