mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 20:30:05 +00:00
✨ Add some new packages and update Zed formatter config
This commit is contained in:
parent
df4b4c01d7
commit
8d739f8c4c
6 changed files with 49 additions and 43 deletions
|
@ -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 ];
|
||||
|
|
|
@ -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.";
|
||||
};
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
namespace,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf mkOption;
|
||||
cfg = config.${namespace}.services.traefik;
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue