feat(aarch64-darwin): add home-manager configuration
- Introduced `default.nix` with user-specific configurations for `home-manager`. - Enabled various CLI tools including Bash, Fish, Git, and Starship. - Added Alacritty terminal configuration with custom font, theme, and behavior.
This commit is contained in:
parent
e95b2ddc9e
commit
a3cdf34954
1 changed files with 80 additions and 0 deletions
80
homes/aarch64-darwin/harald@rialo/default.nix
Normal file
80
homes/aarch64-darwin/harald@rialo/default.nix
Normal file
|
@ -0,0 +1,80 @@
|
||||||
|
{ pkgs
|
||||||
|
, config
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
username = "harald";
|
||||||
|
homeDirectory = "/Users/${config.home.username}";
|
||||||
|
stateVersion = "23.11"; # Please read the comment before changing.
|
||||||
|
};
|
||||||
|
|
||||||
|
metacfg = {
|
||||||
|
cli-apps = {
|
||||||
|
bash.enable = true;
|
||||||
|
fish.enable = true;
|
||||||
|
neovim.enable = false;
|
||||||
|
bat.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
home-manager.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
tools = {
|
||||||
|
#direnv.enable = true;
|
||||||
|
# ssh.enable = true;
|
||||||
|
git.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.configFile."alacritty/alacritty.toml".source =
|
||||||
|
(pkgs.formats.toml { }).generate "alacritty-config"
|
||||||
|
{
|
||||||
|
font = {
|
||||||
|
normal.family = "JetBrainsMono Nerd Font";
|
||||||
|
size = 17;
|
||||||
|
};
|
||||||
|
|
||||||
|
selection.save_to_clipboard = true;
|
||||||
|
mouse.bindings = [
|
||||||
|
{ mouse = "Middle"; action = "Paste"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
# 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue