Refactor Zed/Flatpak options and add C++ & clangd settings

- Switch Zed remote server and Flatpak packages to use `enable`
suboption - Update host modules to match the new option hierarchy - Add
default C++ settings (format on save, tab size) to Zed user settings -
Introduce clangd LSP configuration with inlay hints and fallback command
This commit is contained in:
2025-12-01 13:28:43 +01:00
parent 7a2382cb3c
commit 087ffd4194
10 changed files with 41 additions and 16 deletions

View File

@@ -4,10 +4,10 @@
...
}: let
mkFlatpakPackage = name: pkgId: {
options.flatpak.packages.${name} = lib.mkEnableOption "Flatpak: ${name}";
options.flatpak.packages.${name}.enable = lib.mkEnableOption "Flatpak: ${name}";
config.services.flatpak.packages =
lib.mkIf config.flatpak.packages.${name} [pkgId];
lib.mkIf config.flatpak.packages.${name}.enable [pkgId];
};
flatpakPackages = {