57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{ pkgs, ... }: {
|
|
home.username = "tobi";
|
|
home.homeDirectory = "/Users/tobi";
|
|
home.stateVersion = "23.05";
|
|
home.packages = with pkgs; [
|
|
raycast
|
|
ripgrep
|
|
tree
|
|
curl
|
|
less
|
|
];
|
|
home.sessionVariables = {
|
|
PAGER = "less";
|
|
CLICOLOR = 1;
|
|
EDITOR = "emacs";
|
|
};
|
|
programs.home-manager.enable = true;
|
|
programs.bat.enable = true;
|
|
programs.git.enable = true;
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
syntaxHighlighting.enable = true;
|
|
shellAliases = {
|
|
ls = "ls --color=auto -F";
|
|
nixswitch = "pushd ~/.config/nix; darwin-rebuild switch --flake .#";
|
|
nixup = "pushd ~/.config/nix; nix flake update";
|
|
};
|
|
};
|
|
programs.starship = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
settings.gcloud.disabled = true;
|
|
settings.aws.disabled = true;
|
|
settings.hostname.style = "bold green";
|
|
};
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings.font = {
|
|
size = 14;
|
|
normal.family = "Iosevka Comfy";
|
|
normal.style = "Regular";
|
|
};
|
|
settings.window = {
|
|
padding.x = 18;
|
|
padding.y = 18;
|
|
opacity = 0.85;
|
|
decorations = "Buttonless";
|
|
};
|
|
};
|
|
xdg.configFile."amethyst/amethyst.yml".text = ''
|
|
window-margins: true
|
|
window-margin-size: 10
|
|
mouse-swaps-windows: true
|
|
mouse-resizes-windows: true
|
|
'';
|
|
}
|