Files
nixos/shells.nix
T

30 lines
662 B
Nix
Raw Normal View History

2024-10-04 10:56:22 -05:00
{ self', pkgs, nixvimunstable, ... }:
2024-10-10 13:01:37 -05:00
let
system = pkgs.system;
vim = (nixvimunstable.legacyPackages.${system}.makeNixvim
(import ./home/modules/baseline/vim/config.nix {
inherit pkgs;
inherit (pkgs) lib;
config.nixpkgs.config.allowUnfree = false; # I have tried to allow it, but I don't seem able to do so
})
);
in
2024-10-04 10:56:22 -05:00
{
default = pkgs.mkShell {
inherit (self'.checks.pre-commit-check) shellHook;
buildInputs = with pkgs; [
bashInteractive
curl
git
gnutar
gzip
inject
inject-darwin
2024-10-10 13:01:37 -05:00
vim
2024-10-04 10:56:22 -05:00
self'.checks.pre-commit-check.enabledPackages
tmux
xonsh
];
};
}