feat: partial modularization of home.nix
This commit is contained in:
9
modules/neovim.nix
Normal file
9
modules/neovim.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
# extraLuaConfig = '' '';
|
||||
# extraPackages = [ ];
|
||||
};
|
||||
}
|
||||
38
modules/zsh.nix
Normal file
38
modules/zsh.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
home.packages = [
|
||||
pkgs.zsh-completions
|
||||
];
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
prezto = {
|
||||
enable = true;
|
||||
editor.keymap = "vi";
|
||||
editor.dotExpansion = true;
|
||||
pmodules = [
|
||||
"environment"
|
||||
"terminal"
|
||||
"utility"
|
||||
"directory"
|
||||
"editor"
|
||||
"history"
|
||||
"syntax-highlighting"
|
||||
"history-substring-search"
|
||||
"autosuggestions"
|
||||
"completion"
|
||||
];
|
||||
};
|
||||
shellAliases = {
|
||||
lg = "lazygit";
|
||||
cat = "bat";
|
||||
diff = "delta";
|
||||
s = "kitty +kitten ssh";
|
||||
};
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user