flake/home/applications/nix/default.nix

33 lines
641 B
Nix
Raw Normal View History

2023-11-06 11:23:58 +00:00
{pkgs, ...}: {
home.packages = with pkgs; [
2023-12-16 07:26:27 +00:00
# LSP / Formatters / Linters
nil
alejandra
statix
deadnix
2024-02-01 23:18:17 +00:00
# Nix helper
nh
2023-12-16 07:26:27 +00:00
# Secret management
2023-11-29 10:18:56 +00:00
sops
2023-12-16 07:26:27 +00:00
# Additional information while building
2023-11-29 10:18:56 +00:00
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
};
2023-12-02 10:44:48 +00:00
extensions = [pkgs.vscode-extensions.jnoortheen.nix-ide];
2023-11-06 11:23:58 +00:00
};
}