summaryrefslogtreecommitdiffstats
path: root/lass
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
parent29396c23f70161967ad9e0e3ef04eedfe5ff4b31 (diff)
uriel: import bitlbee & weechat cfg
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/uriel.nix2
-rw-r--r--lass/2configs/weechat.nix22
2 files changed, 24 insertions, 0 deletions
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
+ ];
+ };
+}