7c8941a764
This update makes using flake (self or external) modules and overlays more explicit, by setting nixpkgs options directly in the config, instead of the flake. To help import your own overlays and modules, the `outputs` attribute is now available on your configs.
11 lines
400 B
Nix
11 lines
400 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 ];
|
|
};
|
|
}
|