flake-update-20260505
1# Shell for bootstrapping flake-enabled nix and home-manager
2# Access development shell with 'nix develop' or (legacy) 'nix-shell'
3# { pkgs ? (import ./nixpkgs.nix) { }
4# ,
5# }:
6# {
7# default = pkgs.mkShell {
8# name = "home-flake";
9# # Enable experimental features without having to specify the argument
10# NIX_CONFIG = "experimental-features = nix-command flakes";
11# nativeBuildInputs = with pkgs; [
12# nix
13# home-manager
14# git
15# ];
16# shellHook = ''
17# exec zsh
18# '';
19# };
20# }
21{
22 system ? builtins.currentSystem,
23}:
24
25# Use flake.nix devshell, similar to "nix develop"
26(builtins.getFlake (toString ./.)).devShells.${system}.default