From 2b86994dca6f59107f6af9704caedb8d3a82eef8 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 3 Oct 2015 21:22:07 +0200 Subject: uriel: import bitlbee & weechat cfg --- lass/2configs/weechat.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lass/2configs/weechat.nix (limited to 'lass/2configs/weechat.nix') diff --git a/lass/2configs/weechat.nix b/lass/2configs/weechat.nix new file mode 100644 index 000000000..cfcc1a2f6 --- /dev/null +++ b/lass/2configs/weechat.nix @@ -0,0 +1,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 + ]; + }; +} -- cgit v1.2.3