2022-08-05 18:19:29 -07:00
|
|
|
# Shell for bootstrapping flake-enabled nix and home-manager
|
2022-11-08 12:59:31 -08:00
|
|
|
# You can enter it through 'nix develop' or (legacy) 'nix-shell'
|
|
|
|
|
|
|
|
{ pkgs ? (import ./nixpkgs.nix) { } }: {
|
|
|
|
default = pkgs.mkShell {
|
|
|
|
# Enable experimental features without having to specify the argument
|
|
|
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
|
|
|
nativeBuildInputs = with pkgs; [ nix home-manager git ];
|
|
|
|
};
|
2022-08-05 18:19:29 -07:00
|
|
|
}
|