1. Use `stdenv.hostPlatform.system` instead of `system`.
2. Use `runCommand` instead of `runCommandNoCC`.
3. Add new nixpkgs instance for neochat.
4. Set niri config to null when other GUI module.
This commit introduces significant improvements to clipboard handling
within the Telega (Telegram) client and enables the LSP module.
### Telega Clipboard Enhancements
- Paste Images: Overrides the default image pasting
function (`telega-chatbuf-attach-clipboard`) with more image format
support.
- Copy Images: Adds a new interactive command,
`+telega-save-file-to-clipboard`, to download a file from a message
and copy it directly to the Wayland clipboard via `wl-copy`.
### LSP Support
- Enabled the `:tools lsp` module to activate Language Server Protocol
support for improved code intelligence.
Sets `core.commentChar` to a semicolon (`;`). This prevents Git from
treating lines beginning with a `#` as comments and removing them from
the final commit message. This is useful when writing commit messages
with markdown.
This commit expands the Doom Emacs configuration by enabling a
wide array of programming language modules and tools. It also
decouples Emacs from the system's Stylix theming for more granular
control.
*** Modules
- Enabled language support for C/C++, Clojure, Go, Haskell,
Python, Rust, Web, and Zig.
- Also enabled the ~company~, ~ibuffer~, ~upload~, and
~graphviz~ modules.
*** UI
- Switched to relative line numbers.
- Enabled icons for the ~vertico~ completion UI.
*** Nix
- Disabled the ~stylix~ target for Emacs to prevent it from
overwriting the Doom theme.
- Added ~imagemagick~ as a dependency.