2023-11-06 11:23:58 +00:00
|
|
|
{pkgs, ...}: {
|
|
|
|
home.packages = with pkgs; [
|
2023-11-17 12:00:28 +00:00
|
|
|
nil # LSP
|
|
|
|
alejandra # Formatter
|
2023-11-29 10:18:56 +00:00
|
|
|
sops
|
|
|
|
nix-output-monitor
|
2023-11-06 11:23:58 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
### VSCode
|
|
|
|
programs.vscode = {
|
|
|
|
userSettings = {
|
2023-11-17 12:00:28 +00:00
|
|
|
# Extensions
|
|
|
|
## Nix IDE
|
|
|
|
nix.enableLanguageServer = true;
|
|
|
|
### For "nixd" LSP
|
|
|
|
nix.serverPath = "nil";
|
|
|
|
nix.serverSettings.nil = {
|
|
|
|
formatting.command = ["alejandra"];
|
|
|
|
nix.flake.autoArchive = true;
|
|
|
|
};
|
2023-11-06 11:23:58 +00:00
|
|
|
};
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|