2023-04-25 19:21:03 +00:00
|
|
|
# Shell for bootstrapping flake-enabled nix and home-manager
|
|
|
|
# You can enter it through 'nix develop' or (legacy) 'nix-shell'
|
2023-04-25 20:10:57 +00:00
|
|
|
{pkgs ? (import ./nixpkgs.nix) {}}: {
|
2023-04-25 19:21:03 +00:00
|
|
|
default = pkgs.mkShell {
|
|
|
|
# Enable experimental features without having to specify the argument
|
|
|
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
2023-04-25 20:10:57 +00:00
|
|
|
nativeBuildInputs = with pkgs; [nix home-manager git];
|
2023-04-25 19:21:03 +00:00
|
|
|
};
|
|
|
|
}
|