diff --git a/configs/default.nix b/configs/default.nix index e3cd56c..94eb904 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -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 diff --git a/configs/ssh.nix b/configs/ssh.nix index b039faf..c4acbe2 100644 --- a/configs/ssh.nix +++ b/configs/ssh.nix @@ -32,7 +32,7 @@ in { }; toum = { hostname = "toum.r"; - user = "kfm"; + user = "root"; port = sshPort; }; wilde = { diff --git a/systems/toum/configuration.nix b/systems/toum/configuration.nix index 47baae3..f751e2f 100644 --- a/systems/toum/configuration.nix +++ b/systems/toum/configuration.nix @@ -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";