nixos-config/shell.nix

8 lines
331 B
Nix

# Shell for bootstrapping flake-enabled nix and home-manager
{pkgs ? (import ./nixpkgs.nix) {}}: {
bootstrap = 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];
};
}