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/1systems/uriel.nix | 2 ++ lass/2configs/weechat.nix | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 lass/2configs/weechat.nix diff --git a/lass/1systems/uriel.nix b/lass/1systems/uriel.nix index c690fda93..bd3770b43 100644 --- a/lass/1systems/uriel.nix +++ b/lass/1systems/uriel.nix @@ -12,6 +12,8 @@ with builtins; ../2configs/new-repos.nix ../2configs/chromium-patched.nix ../2configs/retiolum.nix + ../2configs/bitlbee.nix + ../2configs/weechat.nix { users.extraUsers = { root = { 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