From 3991331352d85d44d174a90392c0fe3d5e5dee05 Mon Sep 17 00:00:00 2001 From: nin Date: Fri, 20 Jan 2017 00:05:30 +0100 Subject: n 2: add weechat --- nin/2configs/weechat.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 nin/2configs/weechat.nix (limited to 'nin/2configs/weechat.nix') diff --git a/nin/2configs/weechat.nix b/nin/2configs/weechat.nix new file mode 100644 index 000000000..6c0fb313e --- /dev/null +++ b/nin/2configs/weechat.nix @@ -0,0 +1,21 @@ +{ config, lib, pkgs, ... }: + +let + inherit (import ) 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 + ]; + }; +} -- cgit v1.2.3