diff options
Diffstat (limited to 'lass/2configs/weechat.nix')
-rw-r--r-- | lass/2configs/weechat.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lass/2configs/weechat.nix b/lass/2configs/weechat.nix index 6a257f0bb..6c234d1bc 100644 --- a/lass/2configs/weechat.nix +++ b/lass/2configs/weechat.nix @@ -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 = [ |