diff --git a/home/alex/cli.nix b/home/alex/cli.nix index 2efaddb..17fd2d8 100644 --- a/home/alex/cli.nix +++ b/home/alex/cli.nix @@ -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; diff --git a/home/alex/programs/shell/default.nix b/home/alex/programs/shell/default.nix new file mode 100644 index 0000000..b614b70 --- /dev/null +++ b/home/alex/programs/shell/default.nix @@ -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"; + }; + }; +}