l 2 weechat: bring everything up2date
This commit is contained in:
parent
2e2e5196d1
commit
f2e4288052
@ -1,22 +1,37 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
{
|
{
|
||||||
imports = [
|
krebs.per-user.chat.packages = [
|
||||||
../3modules/per-user.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
lass.per-user.chat.packages = [
|
|
||||||
pkgs.weechat
|
pkgs.weechat
|
||||||
pkgs.tmux
|
pkgs.tmux
|
||||||
];
|
];
|
||||||
|
|
||||||
users.extraUsers.chat = {
|
users.extraUsers.chat = {
|
||||||
home = "/home/chat";
|
home = "/home/chat";
|
||||||
|
uid = 986764891; # genid chat
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
openssh.authorizedKeys.keys = map readFile [
|
openssh.authorizedKeys.keys = [
|
||||||
../../krebs/Zpubkeys/lass.ssh.pub
|
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";
|
||||||
|
# };
|
||||||
|
#};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user