Update nix

This commit is contained in:
muon 2025-05-24 09:49:31 +00:00
parent 7597c9eb6c
commit e4451da88d
7 changed files with 28 additions and 37 deletions

View file

@ -54,7 +54,7 @@
languages.language-server = {
glsl.command = "${pkgs.glsl_analyzer}/bin/glsl_analyzer";
wgsl.command = "${pkgs.wgsl-analyzer}/bin/wgsl_analyzer";
wgsl.command = "${pkgs.wgsl-analyzer}/bin/wgsl-analyzer";
};
languages.language = [

View file

@ -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";
}];
};
};
}