Revert "fix: Remove |> operator to fix ci"

This reverts commit 6a7b5838bc.
This commit is contained in:
ulic-youthlic 2025-11-08 03:53:33 +08:00
parent ff78d71406
commit 4205a8bcb3
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
13 changed files with 122 additions and 167 deletions

View file

@ -17,22 +17,14 @@ in
programs.alacritty = {
enable = true;
package = pkgs.alacritty_git;
settings =
(
with lib;
pipe ./alacritty.toml [
builtins.readFile
builtins.fromTOML
]
)
// {
colors = lib.mkForce { };
font.size = lib.mkForce 16;
window.opacity = lib.mkForce 0.8;
general.import = [
"${pkgs.alacritty-theme}/share/alacritty-theme/gruvbox_dark.toml"
];
};
settings = (./alacritty.toml |> builtins.readFile |> builtins.fromTOML) // {
colors = lib.mkForce { };
font.size = lib.mkForce 16;
window.opacity = lib.mkForce 0.8;
general.import = [
"${pkgs.alacritty-theme}/share/alacritty-theme/gruvbox_dark.toml"
];
};
};
};
}

View file

@ -56,12 +56,7 @@ in
enable = true;
defaultEditor = true;
extraPackages = cfg.extraPackages;
settings =
with lib;
pipe ./config.toml [
builtins.readFile
builtins.fromTOML
];
settings = ./config.toml |> builtins.readFile |> builtins.fromTOML;
languages = lib.recursiveUpdate {
language-server = {
neocmakelsp = {