2024-11-25 12:42:21 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
home = {
|
|
|
|
username = "harald";
|
|
|
|
homeDirectory = "/Users/${config.home.username}";
|
|
|
|
stateVersion = "23.11"; # Please read the comment before changing.
|
|
|
|
};
|
|
|
|
|
2024-11-27 17:25:26 +01:00
|
|
|
programs.ssh.extraConfig = ''
|
2024-11-28 10:53:57 +01:00
|
|
|
#UseKeychain yes
|
|
|
|
#AddKeysToAgent yes
|
2024-11-27 17:25:26 +01:00
|
|
|
IdentityFile ~/.ssh/id_ed25519
|
|
|
|
'';
|
|
|
|
|
2024-11-25 12:42:21 +01:00
|
|
|
metacfg = {
|
|
|
|
cli-apps = {
|
|
|
|
bash.enable = true;
|
|
|
|
fish.enable = true;
|
2024-11-28 09:10:04 +01:00
|
|
|
neovim.enable = true;
|
2024-11-25 12:42:21 +01:00
|
|
|
bat.enable = true;
|
|
|
|
starship.enable = true;
|
|
|
|
#home-manager.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
tools = {
|
2024-11-25 14:22:52 +01:00
|
|
|
#direnv.enable = true;
|
2024-11-25 12:42:21 +01:00
|
|
|
ssh.enable = true;
|
|
|
|
git.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2024-11-25 14:22:52 +01:00
|
|
|
|
2024-12-13 09:25:01 +01:00
|
|
|
xdg.configFile."alacritty/alacritty.toml".source =
|
|
|
|
(pkgs.formats.toml { }).generate "alacritty-config"
|
|
|
|
{
|
|
|
|
font = {
|
|
|
|
normal.family = "JetBrainsMono Nerd Font";
|
|
|
|
size = 17;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Color theme ported from iTerm 2 Smoooooth
|
|
|
|
colors.primary = {
|
|
|
|
foreground = "#dbdbdb";
|
|
|
|
background = "#14191e";
|
|
|
|
};
|
|
|
|
|
|
|
|
colors.cursor = {
|
|
|
|
text = "#000000";
|
|
|
|
cursor = "#fefffe";
|
|
|
|
};
|
|
|
|
|
|
|
|
colors.selection = {
|
|
|
|
text = "#000000";
|
|
|
|
background = "#b3d7ff";
|
|
|
|
};
|
|
|
|
|
|
|
|
colors.normal = {
|
|
|
|
black = "#14191e";
|
|
|
|
red = "#b43c29";
|
|
|
|
green = "#00c200";
|
|
|
|
yellow = "#c7c400";
|
|
|
|
blue = "#2743c7";
|
|
|
|
magenta = "#bf3fbd";
|
|
|
|
cyan = "#00c5c7";
|
|
|
|
white = "#c7c7c7";
|
|
|
|
};
|
|
|
|
|
|
|
|
colors.bright = {
|
|
|
|
black = "#676767";
|
|
|
|
red = "#dc7974";
|
|
|
|
green = "#57e690";
|
|
|
|
yellow = "#ece100";
|
|
|
|
blue = "#a6aaf1";
|
|
|
|
magenta = "#e07de0";
|
|
|
|
cyan = "#5ffdff";
|
|
|
|
white = "#feffff";
|
|
|
|
};
|
|
|
|
};
|
2024-11-25 12:42:21 +01:00
|
|
|
}
|