Add some new packages and update Zed formatter config

This commit is contained in:
Jo 2025-05-18 21:54:20 +02:00
parent df4b4c01d7
commit 8d739f8c4c
6 changed files with 49 additions and 43 deletions

View file

@ -44,6 +44,16 @@ in {
copilot = false;
};
formatter = {
external = {
command = "alejandra";
arguments = ["--quiet"];
language = ["nix"];
};
};
format_on_save = "on";
### Language specific configurations
languages = {
### Nix language
@ -51,17 +61,6 @@ in {
language_servers = [ "nixd" "!nil" ];
};
};
### LSP configurations
lsp = {
nixd = {
initialization_options = {
formatting = {
command = ["alejandra" "--quiet" "--"];
};
};
};
};
};
extraPackages = with pkgs; [ nixd ];

View file

@ -13,7 +13,7 @@ in {
options.${namespace}.desktop.gnome = with lib.types; {
enabled-extensions = mkOption {
type = listOf package;
default = with pkgs.gnomeExtensions; [dash-to-dock user-themes blur-my-shell appindicator unite color-picker clipboard-history];
default = with pkgs.gnomeExtensions; [user-themes blur-my-shell appindicator unite color-picker clipboard-history];
example = [dash-to-dock blur-my-shell];
description = "Specify gnome extensions to install.";
};

View file

@ -3,8 +3,7 @@
namespace,
config,
...
}:
let
}: let
inherit (lib) mkEnableOption mkIf mkOption;
cfg = config.${namespace}.services.traefik;
in {