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.
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.
Updated all flake inputs and applied srveral improvements to the
system configurations.
*** Updates
- Ran =flake update= to bring all dependencies to their latest
versions.
- Pinned =lix-module= to the stable =release-2.93= branch to
prevent breakages from its main branch.
*** System Configuration
- ssh: Reworked the client configuration to use a global =*= match
block for secure defaults. Disabled the default home-manager
config for removing nixpkgs' wrannings.
- intel-vaapi-driver: Enabled =enableHybridCodec= override to avoid
to build whole package from scratch.
- kde: Forced the Qt platform theme to =kde= to fix a visual bug
with Stylix.
- onnxruntime: Disabled CUDA/NCCL support to avoid to build the
whole package from scratch.
*** Application Changes
- firefox: Switched the default browser package to =firefox-beta=
across the entire configuration (NixOS, home-manager, and niri).
- editor: Removed =hurl= and =cmake-language-server= from the
editor runtime environment for broken packages.