style: use alejandra formatter on all nix files

This commit is contained in:
Yorick Barbanneau 2025-09-25 23:33:01 +02:00
parent d563805909
commit 0d8a394dcf
Signed by: ephase
GPG key ID: 246042E52B41FFCF
76 changed files with 1287 additions and 935 deletions

View file

@ -1,9 +1,12 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.modules.cli.zsh;
in
{
lib,
config,
pkgs,
...
}:
with lib; let
cfg = config.modules.cli.zsh;
in {
options.modules.cli.zsh = {
enable = mkEnableOption "enable Zsh configuration";
};
@ -17,7 +20,7 @@ in
ignoreAllDups = true;
save = 10000;
share = true;
path = "${config.xdg.dataHome }/zsh/history";
path = "${config.xdg.dataHome}/zsh/history";
};
historySubstringSearch = {
enable = true;
@ -26,7 +29,7 @@ in
};
syntaxHighlighting = {
enable = true;
highlighters = [ "brackets" "main" "pattern" ];
highlighters = ["brackets" "main" "pattern"];
styles = {
arithmetic-expansion = "fg=#ba8baf";
assign = "fg=#7cafc2";
@ -98,15 +101,16 @@ in
compinit -C
'';
plugins = [
{
name = "base16-shell";
src = pkgs.fetchFromGitHub {
owner = "chriskempson";
repo = "base16-shell";
rev = "588691ba71b47e75793ed9edfcfaa058326a6f41";
hash = "sha256-X89FsG9QICDw3jZvOCB/KsPBVOLUeE7xN3VCtf0DD3E=";
{
name = "base16-shell";
src = pkgs.fetchFromGitHub {
owner = "chriskempson";
repo = "base16-shell";
rev = "588691ba71b47e75793ed9edfcfaa058326a6f41";
hash = "sha256-X89FsG9QICDw3jZvOCB/KsPBVOLUeE7xN3VCtf0DD3E=";
};
}];
}
];
localVariables = {
BASE16_THEME = "${config.xdg.configHome}/zsh/plugins/base16";
# Make ESC key more reactive to go to normal mode