l 2 weechat: get genid from krebs.lib
This commit is contained in:
parent
2d912a9d6d
commit
ae79a451c2
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user