nixos-config/shells/nix.nix
Gabriel Arazas 881d015674 shells/nix: init devshell
Though, it has been added by accident (whoops). It's for real this time.
:)
2022-09-01 09:56:57 +08:00

14 lines
663 B
Nix

# For usual Nix projects such as overlays, package repositories, and whatnot.
# Also, it's fun to have a file named `nix.nix`.
{ mkShell, lib, nixfmt, jq, rnix-lsp, rnix-hashes, nix-tree }:
mkShell {
packages = [
jq # It will use some JSON with its lockfile so better be ready to use this.
nixfmt # Ideally, it would be nicer if the codebase has their preferred formatter but we'll go with the most common formatter(?).
rnix-hashes # Quick utility for converting hashes.
rnix-lsp # Make your editing experience nicer with a nice language server.
nix-tree # Suprisingly nice exploration tool for your packages in the store directory.
];
}