refactor: pull bootstap into regular shell for ease of use
This commit is contained in:
parent
8d9684cf50
commit
c5d2fbe031
3 changed files with 17 additions and 7 deletions
8
shell.nix
Normal file
8
shell.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# 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];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue