Work on install zsh

This commit is contained in:
Thomas Avé 2024-05-31 14:52:02 +02:00
parent 07a2b762ea
commit c3142b0761
2 changed files with 29 additions and 1 deletions

View File

@ -22,7 +22,6 @@
home-manager.extraSpecialArgs = { inherit inputs; }; # allows access to flake inputs in hm modules home-manager.extraSpecialArgs = { inherit inputs; }; # allows access to flake inputs in hm modules
home-manager.users.user = { home-manager.users.user = {
imports = [ ./home.nix ]; imports = [ ./home.nix ];
home.stateVersion = "24.11";
}; };
} }
]; ];

View File

@ -1,4 +1,33 @@
{ config, pkgs, ... }:
{ {
home.stateVersion = "24.11";
targets.genericLinux.enable = true;
nixpkgs.config.allowUnfree = true;
programs.bash.enable = true; programs.bash.enable = true;
programs.neovim.enable = true; programs.neovim.enable = true;
programs.home-manager.enable = true;
programs.git = {
enable = true;
userName = "Thomas Avé";
userEmail = "email@thomasave.be";
};
home.packages = with pkgs; [
htop
];
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
shellAliases = {
ll = "ls -lhat";
};
histSize = 10000;
histFile = "${config.xdg.dataHome}/zsh/history";
};
} }