mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-24 18:12:18 +00:00
10 lines
399 B
Nix
10 lines
399 B
Nix
|
# 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 ];
|
||
|
};
|
||
|
}
|