67dc106469
This reverts commit 62314e64c2
.
22 lines
376 B
Nix
22 lines
376 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
inherit (import <stockholm/lib>) genid;
|
|
in {
|
|
krebs.per-user.chat.packages = with pkgs; [
|
|
mosh
|
|
weechat
|
|
tmux
|
|
];
|
|
|
|
users.extraUsers.chat = {
|
|
home = "/home/chat";
|
|
uid = genid "chat";
|
|
useDefaultShell = true;
|
|
createHome = true;
|
|
openssh.authorizedKeys.keys = [
|
|
config.krebs.users.nin.pubkey
|
|
];
|
|
};
|
|
}
|