nix-starter-configs/standard/shell.nix

11 lines
400 B
Nix
Raw Permalink Normal View History

2022-08-05 18:19:29 -07:00
# Shell for bootstrapping flake-enabled nix and home-manager
# 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
}