1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(toum): remove kfm user, enable login as weechat

This commit is contained in:
2020-11-01 08:26:22 +01:00
parent eed54d1593
commit 4d610461b8
3 changed files with 6 additions and 20 deletions

View File

@@ -125,7 +125,7 @@ in {
zathura = swallow "${pkgs.zathura}/bin/zathura";
us = "${pkgs.systemd}/bin/systemctl --user";
wcd = "source ${wcd}";
weechat = "${pkgs.openssh}/bin/ssh toum -t screen -x weechat/weechat-screen";
weechat = "${pkgs.openssh}/bin/ssh weechat@toum -t screen -x weechat-screen";
where = "source ${where}";
yt =
"${pkgs.youtube-dl}/bin/youtube-dl --add-metadata -ic"; # Download video link

View File

@@ -32,7 +32,7 @@ in {
};
toum = {
hostname = "toum.r";
user = "kfm";
user = "root";
port = sshPort;
};
wilde = {

View File

@@ -38,10 +38,10 @@ in {
}
{
services.weechat.enable = true;
programs.screen.screenrc = ''
multiuser on
acladd ${config.users.users.me.name}
'';
users.extraUsers.weechat = {
useDefaultShell = true;
openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
};
}
];
@@ -60,20 +60,6 @@ in {
];
users.mutableUsers = false;
users.users.me = {
name = "kfm";
home = "/home/kfm";
createHome = true;
group = "users";
extraGroups = [ "wheel" ];
hashedPassword =
"$6$w9hXyGFl/.IZBXk$5OiWzS1G.5hImhh1YQmZiCXYNAJhi3X6Y3uSLupJNYYXPLMsQpx2fwF4Xr2uYzGMV8Foqh8TgUavx1APD9rcb/";
shell = pkgs.bash;
openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
};
security.sudo.enable = true;
networking.retiolum = {
ipv4 = "10.243.2.3";