code review

This commit is contained in:
Miguel Palhas
2024-09-29 19:38:26 +01:00
parent 3e89e2ada5
commit 27afe4e121
10 changed files with 118 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
{ inputs, lib, pkgs, config, outputs, ... }: {
imports = [
inputs.nix-colors.homeManagerModule
inputs.nixvim.homeManagerModules.nixvim
../common/programs/default.nix
];
colorscheme = inputs.nix-colors.colorSchemes.catppuccin-frappe;
programs = {
home-manager.enable = true;
git.enable = true;
fzf.enable = true;
neovim.enable = true;
};
home = {
username = lib.mkDefault "naps62";
stateVersion = lib.mkDefault "24.05";
};
}
+17 -2
View File
@@ -1,8 +1,8 @@
{ inputs, ... }: {
{ inputs, config, ... }: {
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = {
@@ -23,6 +23,21 @@
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
zplug = {
enable = true;
plugins =
[ { name = "hlissner/zsh-autopair"; } { name = "Aloxaf/fzf-tab"; } ];
};
initExtra = ''
eval "$(mise activate zsh)"
'';
};
programs.fzf = {
enable = true;
enableZshIntegration = true;
};
programs.starship = {
-1
View File
@@ -17,6 +17,5 @@
home = {
username = lib.mkDefault "naps62";
stateVersion = lib.mkDefault "24.05";
file = { "asd".text = "asd"; };
};
}