summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-03 21:22:07 +0200
committerlassulus <lass@aidsballs.de>2015-10-04 13:43:45 +0200
commit2b86994dca6f59107f6af9704caedb8d3a82eef8 (patch)
tree49bf63fac9ba237dd679b06a3119aaa471d802e8 /lass/2configs
parent29396c23f70161967ad9e0e3ef04eedfe5ff4b31 (diff)
uriel: import bitlbee & weechat cfg
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/weechat.nix22
1 files changed, 22 insertions, 0 deletions
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
+ ];
+ };
+}