Current state of main at 0240060 feat(hp-laptop): install TeleportFling from its flake. History intentionally collapsed to a single commit; this repo mirrors only the latest state.
32 lines
833 B
Nix
32 lines
833 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# nil (Nix language server) for x1carbon only — wired into VS Code via the
|
|
# nix-community Nix IDE extension and into opencode (see opencode.nix).
|
|
|
|
home.packages = [ pkgs.nil ];
|
|
|
|
programs.vscode = {
|
|
enable = true;
|
|
profiles.default = {
|
|
extensions = [ pkgs.vscode-extensions.jnoortheen.nix-ide ];
|
|
userSettings = {
|
|
"nix.enableLanguageServer" = true;
|
|
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
|
# All nil LSP settings nest under a "nil" key. Formatting shells out
|
|
# to nixfmt (the flake formatter), reading stdin / writing stdout.
|
|
"nix.serverSettings" = {
|
|
nil = {
|
|
formatting = {
|
|
command = [
|
|
"nixfmt"
|
|
"-"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|