mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
feat(toum): remove kfm user, enable login as weechat
This commit is contained in:
@@ -125,7 +125,7 @@ in {
|
|||||||
zathura = swallow "${pkgs.zathura}/bin/zathura";
|
zathura = swallow "${pkgs.zathura}/bin/zathura";
|
||||||
us = "${pkgs.systemd}/bin/systemctl --user";
|
us = "${pkgs.systemd}/bin/systemctl --user";
|
||||||
wcd = "source ${wcd}";
|
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}";
|
where = "source ${where}";
|
||||||
yt =
|
yt =
|
||||||
"${pkgs.youtube-dl}/bin/youtube-dl --add-metadata -ic"; # Download video link
|
"${pkgs.youtube-dl}/bin/youtube-dl --add-metadata -ic"; # Download video link
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ in {
|
|||||||
};
|
};
|
||||||
toum = {
|
toum = {
|
||||||
hostname = "toum.r";
|
hostname = "toum.r";
|
||||||
user = "kfm";
|
user = "root";
|
||||||
port = sshPort;
|
port = sshPort;
|
||||||
};
|
};
|
||||||
wilde = {
|
wilde = {
|
||||||
|
|||||||
@@ -38,10 +38,10 @@ in {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
services.weechat.enable = true;
|
services.weechat.enable = true;
|
||||||
programs.screen.screenrc = ''
|
users.extraUsers.weechat = {
|
||||||
multiuser on
|
useDefaultShell = true;
|
||||||
acladd ${config.users.users.me.name}
|
openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
|
||||||
'';
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -60,20 +60,6 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
users.mutableUsers = false;
|
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 = {
|
networking.retiolum = {
|
||||||
ipv4 = "10.243.2.3";
|
ipv4 = "10.243.2.3";
|
||||||
|
|||||||
Reference in New Issue
Block a user