diff options
author | lassulus <lass@aidsballs.de> | 2015-11-13 14:57:19 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-11-13 14:57:19 +0100 |
commit | f2e4288052b8b21e45a577fde8b8761e6295be5a (patch) | |
tree | 0f06320e91dbe491ee811cda548e0eefff7310ae /lass/2configs | |
parent | 2e2e5196d149379643244f92239f88f5d2eb2237 (diff) |
l 2 weechat: bring everything up2date
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/weechat.nix | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/lass/2configs/weechat.nix b/lass/2configs/weechat.nix index cfcc1a2f6..18007ed61 100644 --- a/lass/2configs/weechat.nix +++ b/lass/2configs/weechat.nix @@ -1,22 +1,37 @@ { config, lib, pkgs, ... }: -with lib; { - imports = [ - ../3modules/per-user.nix - ]; - - lass.per-user.chat.packages = [ + krebs.per-user.chat.packages = [ pkgs.weechat pkgs.tmux ]; users.extraUsers.chat = { home = "/home/chat"; + uid = 986764891; # genid chat useDefaultShell = true; createHome = true; - openssh.authorizedKeys.keys = map readFile [ - ../../krebs/Zpubkeys/lass.ssh.pub + openssh.authorizedKeys.keys = [ + config.krebs.users.lass.pubkey ]; }; + + #systemd.services.chat = { + # description = "chat environment setup"; + # after = [ "network.target" ]; + # wantedBy = [ "multi-user.target" ]; + + # path = with pkgs; [ + # weechat + # tmux + # ]; + + # restartIfChanged = true; + + # serviceConfig = { + # User = "chat"; + # Restart = "always"; + # ExecStart = "${pkgs.tmux}/bin/tmux new -s IM weechat"; + # }; + #}; } |