Compare commits

...

2 commits

Author SHA1 Message Date
Harald Hoyer 8e20509b92 add ssh and mosh 2024-01-12 12:12:55 +01:00
Harald Hoyer 0efd7a97f4 add alacritty 2024-01-12 10:53:57 +01:00
5 changed files with 29 additions and 1 deletions

View file

@ -27,6 +27,8 @@
}; };
tools = { tools = {
direnv.enable = true; direnv.enable = true;
alacritty.enable = true;
ssh.enable = true;
# jetbrains.enable = true; # jetbrains.enable = true;
}; };
}; };

View file

@ -27,6 +27,7 @@
}; };
tools = { tools = {
direnv.enable = true; direnv.enable = true;
ssh.enable = true;
# jetbrains.enable = true; # jetbrains.enable = true;
}; };
}; };

View file

@ -25,7 +25,6 @@ in
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
bat
vim vim
cachix cachix
]; ];

View file

@ -0,0 +1,22 @@
{ lib
, config
, pkgs
, ...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.plusultra.tools.alacritty;
in
{
options.plusultra.tools.alacritty = {
enable = mkEnableOption "alacritty";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
alacritty
(pkgs.nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" "JetBrainsMono" ]; })
];
};
}

View file

@ -10,7 +10,11 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [
mosh
];
programs.ssh = { programs.ssh = {
enable = true;
extraConfig = '' extraConfig = ''
Host * Host *
HostKeyAlgorithms +ssh-rsa HostKeyAlgorithms +ssh-rsa