Nix-Vibe public snapshot (squashed history)
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.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{ 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"
|
||||
"-"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user