aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 952591542a09903035a79b08430a36dea4125ac6 (plain)
1
2
3
4
5
6
7
8
9
10
# 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 ];
  };
}