feat(home): Move zsh config to shell module

This commit is contained in:
Alexander Kobjolke 2024-02-12 22:47:04 +01:00
parent 59e86c9580
commit 649eeae81b
2 changed files with 16 additions and 10 deletions

View file

@ -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;

View 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";
};
};
}