nix-user-chroot 2.1.1

Install & Run nix without root permissions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
  outputs =
    inputs:
    let
      supportedSystems = [
        "x86_64-linux"
        "aarch64-linux"
      ];
      forAllSystems = inputs.nixpkgs.lib.genAttrs supportedSystems;
      pkgs = forAllSystems (system: import inputs.nixpkgs { inherit system; });
    in
    {
      devShells = forAllSystems (system: {
        default = pkgs.${system}.callPackage ./shell.nix { };
      });
    };
}