summaryrefslogtreecommitdiffstats
path: root/lass/2configs/weechat.nix
blob: cfcc1a2f68049c4c2f2ec811bb297fc58c2d52c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ config, lib, pkgs, ... }:

with lib;
{
  imports = [
    ../3modules/per-user.nix
  ];

  lass.per-user.chat.packages = [
    pkgs.weechat
    pkgs.tmux
  ];

  users.extraUsers.chat = {
    home = "/home/chat";
    useDefaultShell = true;
    createHome = true;
    openssh.authorizedKeys.keys = map readFile [
      ../../krebs/Zpubkeys/lass.ssh.pub
    ];
  };
}