Modules/Zed: Fix nix formatting
This commit is contained in:
@ -5,12 +5,10 @@
|
|||||||
mylib,
|
mylib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
let
|
|
||||||
inherit (config.homemodules) zed color;
|
inherit (config.homemodules) zed color;
|
||||||
in
|
in {
|
||||||
{
|
options.homemodules.zed = import ./options.nix {inherit lib mylib;};
|
||||||
options.homemodules.zed = import ./options.nix { inherit lib mylib; };
|
|
||||||
|
|
||||||
config = lib.mkIf zed.enable {
|
config = lib.mkIf zed.enable {
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
@ -67,8 +65,8 @@ in
|
|||||||
"r"
|
"r"
|
||||||
];
|
];
|
||||||
|
|
||||||
themes = { };
|
themes = {};
|
||||||
userDebug = [ ];
|
userDebug = [];
|
||||||
|
|
||||||
# TODO: Add neovim keymaps
|
# TODO: Add neovim keymaps
|
||||||
userKeymaps = [
|
userKeymaps = [
|
||||||
@ -125,14 +123,15 @@ in
|
|||||||
nil = {
|
nil = {
|
||||||
initialization_options = {
|
initialization_options = {
|
||||||
formatting = {
|
formatting = {
|
||||||
command = null;
|
# command = null;
|
||||||
|
command = ["${pkgs.alejandra}/bin/alejandra"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixd = {
|
nixd = {
|
||||||
initialization_options = {
|
initialization_options = {
|
||||||
formatting = {
|
formatting = {
|
||||||
command = [ "${pkgs.alejandra}/bin/alejandra" ];
|
command = ["${pkgs.alejandra}/bin/alejandra"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -191,7 +190,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
userTasks = [ ];
|
userTasks = [];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user