Modularize flake

This commit is contained in:
Tobias Ostner 2023-09-18 22:31:41 +02:00
parent bfaf82d523
commit 55d5ad7e1e
3 changed files with 36 additions and 23 deletions

View file

@ -2,12 +2,12 @@
home.username = "tobi";
home.homeDirectory = "/Users/tobi";
home.stateVersion = "23.05";
home.packages = [
pkgs.raycast
pkgs.ripgrep
pkgs.fd
pkgs.curl
pkgs.less
home.packages = with pkgs; [
raycast
ripgrep
fd
curl
less
];
home.sessionVariables = {
PAGER = "less";
@ -17,7 +17,16 @@
programs.home-manager.enable = true;
programs.bat.enable = true;
programs.git.enable = true;
programs.zsh.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;
@ -30,5 +39,4 @@
settings.font.size = 14;
settings.font.normal.family = "Iosevka Comfy";
};
programs.kitty.enable = true;
}