code review

This commit is contained in:
Miguel Palhas
2024-09-29 18:40:52 +01:00
parent 8274d3dcf3
commit 3e89e2ada5
7 changed files with 40 additions and 21 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{ lib, config, ... }: {
imports = [ ./basePrograms.nix ./neovim.nix ];
imports = [ ./basePrograms.nix ./neovim.nix ./zsh.nix ];
home = {
homeDirectory = lib.mkDefault "/home/${config.home.username}";
+32
View File
@@ -0,0 +1,32 @@
{ inputs, ... }: {
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
c = "cargo";
d = "docker";
dc = "docker compose";
g = "git";
n = "nvim";
vim = "nvim";
mm = "mise";
mr = "mise run";
ls = "eza";
cat = "bat";
ps = "procs";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
};
programs.starship = {
enable = true;
settings = { add_newline = true; };
};
}