zsh additions + qol changes (#1)
* flake changes * hm enable by default, omp home-manager * zsh plugins
This commit is contained in:
@@ -6,8 +6,9 @@
|
||||
|
||||
programs = {
|
||||
git = import ./git.nix;
|
||||
zsh = import ./zsh.nix;
|
||||
zsh = import ./zsh.nix { inherit pkgs; };
|
||||
tmux = import ./tmux.nix { inherit pkgs; };
|
||||
oh-my-posh = import ./omp.nix;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
7
nix/users/luca/omp.nix
Normal file
7
nix/users/luca/omp.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
settings = builtins.fromTOML (
|
||||
builtins.unsafeDiscardStringContext (builtins.readFile ../../../.config/ohmyposh/zen.toml)
|
||||
);
|
||||
}
|
||||
@@ -1,9 +1,23 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
history.size = 1000;
|
||||
envExtra = ''
|
||||
. "$HOME/.rokit/env"
|
||||
eval "$(oh-my-posh init zsh -c ~/.config/ohmyposh/zen.toml)"
|
||||
'';
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
"git"
|
||||
];
|
||||
};
|
||||
plugins = [
|
||||
{
|
||||
name = "fzf-tab";
|
||||
src = pkgs.zsh-fzf-tab;
|
||||
file = "share/fzf-tab/fzf-tab.plugin.zsh";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user