mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Update nix
This commit is contained in:
parent
7597c9eb6c
commit
e4451da88d
7 changed files with 28 additions and 37 deletions
|
|
@ -2,14 +2,10 @@
|
|||
let
|
||||
cfg = config.mods.terminal;
|
||||
|
||||
aliases = {
|
||||
la = "ls -lah";
|
||||
};
|
||||
aliases = { la = "ls -lah"; };
|
||||
|
||||
in {
|
||||
options.mods.terminal = {
|
||||
zsh.enable = lib.mkEnableOption "enables zsh";
|
||||
};
|
||||
options.mods.terminal = { zsh.enable = lib.mkEnableOption "enables zsh"; };
|
||||
|
||||
config = {
|
||||
programs.starship.enable = true;
|
||||
|
|
@ -29,20 +25,18 @@ in {
|
|||
path = "${config.xdg.dataHome}/zsh/history";
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
initContent = ''
|
||||
autoload -U compinit
|
||||
setopt no_auto_remove_slash
|
||||
'';
|
||||
|
||||
shellAliases = aliases;
|
||||
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
name = "zsh-vi-mode";
|
||||
src = zsh-vi-mode;
|
||||
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
|
||||
}
|
||||
];
|
||||
plugins = with pkgs; [{
|
||||
name = "zsh-vi-mode";
|
||||
src = zsh-vi-mode;
|
||||
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
|
||||
}];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue