feat(home): Move zsh config to shell module
This commit is contained in:
parent
59e86c9580
commit
649eeae81b
2 changed files with 16 additions and 10 deletions
|
|
@ -17,6 +17,7 @@ in {
|
|||
./programs/jq
|
||||
./programs/fzf
|
||||
./programs/git
|
||||
./programs/shell
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
|
@ -119,16 +120,6 @@ in {
|
|||
# htop replacement with a nice UI
|
||||
btop.enable = true;
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "fzf" "fd" "z" ];
|
||||
theme = "simple";
|
||||
};
|
||||
};
|
||||
|
||||
# better ls with icons and stuff, maybe also try lsd
|
||||
${myEza} = {
|
||||
enable = true;
|
||||
|
|
|
|||
15
home/alex/programs/shell/default.nix
Normal file
15
home/alex/programs/shell/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.shellAliases = { suspend = "systemctl hibernate"; };
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "fzf" "fd" "z" ];
|
||||
theme = "simple";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue