├── .envrc ├── .github ├── actions │ └── setup-nix │ │ └── action.yml └── workflows │ ├── cd.yml │ ├── ci.yml │ └── flakehub.yml ├── .gitignore ├── .golangci.yml ├── CONTRIBUTING.md ├── Dockerfile ├── Dockerfile.kind ├── LICENSE ├── Makefile ├── NOTICE ├── README.md ├── cmd └── nix2container │ └── main.go ├── default.nix ├── docs ├── architecture.md ├── demo.cast ├── demo.gif ├── manual-install.md └── rootless.md ├── examples └── declarative-k8s.nix ├── flake.lock ├── flake.nix ├── go.mod ├── go.sum ├── main.go ├── modules ├── common │ ├── containerd-rootless-child.sh │ ├── containerd-rootless.nix │ ├── containerd-rootless.sh │ ├── containerd.nix │ ├── k3s-rootless.nix │ ├── k3s.nix │ ├── nix-snapshotter-rootless.nix │ ├── nix-snapshotter.nix │ ├── preload-containerd-rootless.nix │ └── preload-containerd.nix ├── default.nix ├── flake │ ├── default.nix │ ├── examples.nix │ ├── k8sResources.nix │ ├── linters.nix │ ├── nixosTests.nix │ ├── overlays.nix │ ├── packages.nix │ ├── patches │ │ └── k3s-nix-snapshotter.patch │ └── resources.nix ├── home │ ├── containerd-rootless.nix │ ├── default.nix │ ├── k3s-rootless.nix │ ├── nix-snapshotter-rootless.nix │ └── preload-containerd-rootless.nix └── nixos │ ├── containerd-rootless.nix │ ├── containerd.nix │ ├── default.nix │ ├── k3s-rootless.nix │ ├── k3s.nix │ ├── nix-snapshotter-rootless.nix │ ├── nix-snapshotter.nix │ ├── preload-containerd-rootless.nix │ ├── preload-containerd.nix │ ├── redis-spec.nix │ ├── tests │ ├── gvisor.nix │ ├── k3s-external.nix │ ├── k3s-rootless.nix │ ├── k3s.nix │ ├── kubernetes.nix │ ├── push-n-pull.nix │ ├── snapshotter-1_7.nix │ └── snapshotter.nix │ ├── vm-common.nix │ ├── vm-rootless.nix │ └── vm.nix ├── package.nix ├── pkg ├── command │ ├── build.go │ ├── load.go │ ├── push.go │ └── root.go ├── config │ ├── config.go │ └── config_test.go ├── dockerconfigresolver │ └── dockerconfigresolver.go ├── nix │ ├── image_service.go │ ├── nix.go │ ├── snapshotter.go │ ├── snapshotter_overlay_test.go │ └── snapshotter_test.go ├── nix2container │ ├── build.go │ ├── build_test.go │ ├── export.go │ ├── generate.go │ ├── generate_test.go │ ├── load.go │ └── push.go ├── plugin │ └── plugin.go └── testutil │ └── helpers.go ├── script ├── kind │ ├── etc │ │ ├── containerd │ │ │ └── config.toml │ │ └── systemd │ │ │ └── system │ │ │ └── nix-snapshotter.service │ └── usr │ │ └── local │ │ └── bin │ │ └── kind-entrypoint.sh └── rootless │ ├── common.sh │ ├── containerd.sh │ ├── create-containerd-config.sh │ ├── create-nerdctl-config.sh │ ├── create-nix-snapshotter-config.sh │ ├── load-image.sh │ ├── nerdctl.sh │ ├── nix-snapshotter.sh │ └── nsenter.sh └── types └── types.go /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /.github/actions/setup-nix/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/.github/actions/setup-nix/action.yml -------------------------------------------------------------------------------- /.github/workflows/cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/.github/workflows/cd.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/flakehub.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/.github/workflows/flakehub.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- 1 | # Options for analysis running. 2 | run: 3 | 4 | timeout: 10m 5 | 6 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.kind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/Dockerfile.kind -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/Makefile -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/README.md -------------------------------------------------------------------------------- /cmd/nix2container/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/cmd/nix2container/main.go -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/default.nix -------------------------------------------------------------------------------- /docs/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/docs/architecture.md -------------------------------------------------------------------------------- /docs/demo.cast: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/docs/demo.cast -------------------------------------------------------------------------------- /docs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/docs/demo.gif -------------------------------------------------------------------------------- /docs/manual-install.md: -------------------------------------------------------------------------------- 1 | # Manual Installation 2 | 3 | TODO 4 | -------------------------------------------------------------------------------- /docs/rootless.md: -------------------------------------------------------------------------------- 1 | # Rootless 2 | 3 | TODO 4 | -------------------------------------------------------------------------------- /examples/declarative-k8s.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/examples/declarative-k8s.nix -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/flake.nix -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/main.go -------------------------------------------------------------------------------- /modules/common/containerd-rootless-child.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/containerd-rootless-child.sh -------------------------------------------------------------------------------- /modules/common/containerd-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/containerd-rootless.nix -------------------------------------------------------------------------------- /modules/common/containerd-rootless.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/containerd-rootless.sh -------------------------------------------------------------------------------- /modules/common/containerd.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/containerd.nix -------------------------------------------------------------------------------- /modules/common/k3s-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/k3s-rootless.nix -------------------------------------------------------------------------------- /modules/common/k3s.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/k3s.nix -------------------------------------------------------------------------------- /modules/common/nix-snapshotter-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/nix-snapshotter-rootless.nix -------------------------------------------------------------------------------- /modules/common/nix-snapshotter.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/nix-snapshotter.nix -------------------------------------------------------------------------------- /modules/common/preload-containerd-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/preload-containerd-rootless.nix -------------------------------------------------------------------------------- /modules/common/preload-containerd.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/common/preload-containerd.nix -------------------------------------------------------------------------------- /modules/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/default.nix -------------------------------------------------------------------------------- /modules/flake/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/default.nix -------------------------------------------------------------------------------- /modules/flake/examples.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/examples.nix -------------------------------------------------------------------------------- /modules/flake/k8sResources.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/k8sResources.nix -------------------------------------------------------------------------------- /modules/flake/linters.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/linters.nix -------------------------------------------------------------------------------- /modules/flake/nixosTests.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/nixosTests.nix -------------------------------------------------------------------------------- /modules/flake/overlays.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/overlays.nix -------------------------------------------------------------------------------- /modules/flake/packages.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/packages.nix -------------------------------------------------------------------------------- /modules/flake/patches/k3s-nix-snapshotter.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/patches/k3s-nix-snapshotter.patch -------------------------------------------------------------------------------- /modules/flake/resources.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/flake/resources.nix -------------------------------------------------------------------------------- /modules/home/containerd-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/home/containerd-rootless.nix -------------------------------------------------------------------------------- /modules/home/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/home/default.nix -------------------------------------------------------------------------------- /modules/home/k3s-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/home/k3s-rootless.nix -------------------------------------------------------------------------------- /modules/home/nix-snapshotter-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/home/nix-snapshotter-rootless.nix -------------------------------------------------------------------------------- /modules/home/preload-containerd-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/home/preload-containerd-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/containerd-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/containerd-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/containerd.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/containerd.nix -------------------------------------------------------------------------------- /modules/nixos/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/default.nix -------------------------------------------------------------------------------- /modules/nixos/k3s-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/k3s-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/k3s.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/k3s.nix -------------------------------------------------------------------------------- /modules/nixos/nix-snapshotter-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/nix-snapshotter-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/nix-snapshotter.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/nix-snapshotter.nix -------------------------------------------------------------------------------- /modules/nixos/preload-containerd-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/preload-containerd-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/preload-containerd.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/preload-containerd.nix -------------------------------------------------------------------------------- /modules/nixos/redis-spec.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/redis-spec.nix -------------------------------------------------------------------------------- /modules/nixos/tests/gvisor.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/gvisor.nix -------------------------------------------------------------------------------- /modules/nixos/tests/k3s-external.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/k3s-external.nix -------------------------------------------------------------------------------- /modules/nixos/tests/k3s-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/k3s-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/tests/k3s.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/k3s.nix -------------------------------------------------------------------------------- /modules/nixos/tests/kubernetes.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/kubernetes.nix -------------------------------------------------------------------------------- /modules/nixos/tests/push-n-pull.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/push-n-pull.nix -------------------------------------------------------------------------------- /modules/nixos/tests/snapshotter-1_7.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/snapshotter-1_7.nix -------------------------------------------------------------------------------- /modules/nixos/tests/snapshotter.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/tests/snapshotter.nix -------------------------------------------------------------------------------- /modules/nixos/vm-common.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/vm-common.nix -------------------------------------------------------------------------------- /modules/nixos/vm-rootless.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/vm-rootless.nix -------------------------------------------------------------------------------- /modules/nixos/vm.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/modules/nixos/vm.nix -------------------------------------------------------------------------------- /package.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/package.nix -------------------------------------------------------------------------------- /pkg/command/build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/command/build.go -------------------------------------------------------------------------------- /pkg/command/load.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/command/load.go -------------------------------------------------------------------------------- /pkg/command/push.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/command/push.go -------------------------------------------------------------------------------- /pkg/command/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/command/root.go -------------------------------------------------------------------------------- /pkg/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/config/config.go -------------------------------------------------------------------------------- /pkg/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/config/config_test.go -------------------------------------------------------------------------------- /pkg/dockerconfigresolver/dockerconfigresolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/dockerconfigresolver/dockerconfigresolver.go -------------------------------------------------------------------------------- /pkg/nix/image_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix/image_service.go -------------------------------------------------------------------------------- /pkg/nix/nix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix/nix.go -------------------------------------------------------------------------------- /pkg/nix/snapshotter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix/snapshotter.go -------------------------------------------------------------------------------- /pkg/nix/snapshotter_overlay_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix/snapshotter_overlay_test.go -------------------------------------------------------------------------------- /pkg/nix/snapshotter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix/snapshotter_test.go -------------------------------------------------------------------------------- /pkg/nix2container/build.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/build.go -------------------------------------------------------------------------------- /pkg/nix2container/build_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/build_test.go -------------------------------------------------------------------------------- /pkg/nix2container/export.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/export.go -------------------------------------------------------------------------------- /pkg/nix2container/generate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/generate.go -------------------------------------------------------------------------------- /pkg/nix2container/generate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/generate_test.go -------------------------------------------------------------------------------- /pkg/nix2container/load.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/load.go -------------------------------------------------------------------------------- /pkg/nix2container/push.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/nix2container/push.go -------------------------------------------------------------------------------- /pkg/plugin/plugin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/plugin/plugin.go -------------------------------------------------------------------------------- /pkg/testutil/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/pkg/testutil/helpers.go -------------------------------------------------------------------------------- /script/kind/etc/containerd/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/kind/etc/containerd/config.toml -------------------------------------------------------------------------------- /script/kind/etc/systemd/system/nix-snapshotter.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/kind/etc/systemd/system/nix-snapshotter.service -------------------------------------------------------------------------------- /script/kind/usr/local/bin/kind-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/kind/usr/local/bin/kind-entrypoint.sh -------------------------------------------------------------------------------- /script/rootless/common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/common.sh -------------------------------------------------------------------------------- /script/rootless/containerd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/containerd.sh -------------------------------------------------------------------------------- /script/rootless/create-containerd-config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/create-containerd-config.sh -------------------------------------------------------------------------------- /script/rootless/create-nerdctl-config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/create-nerdctl-config.sh -------------------------------------------------------------------------------- /script/rootless/create-nix-snapshotter-config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/create-nix-snapshotter-config.sh -------------------------------------------------------------------------------- /script/rootless/load-image.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/load-image.sh -------------------------------------------------------------------------------- /script/rootless/nerdctl.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # shellcheck disable=SC1091 4 | source "${BASH_SOURCE%/*}/common.sh" 5 | 6 | nerdctl "$@" 7 | -------------------------------------------------------------------------------- /script/rootless/nix-snapshotter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/nix-snapshotter.sh -------------------------------------------------------------------------------- /script/rootless/nsenter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/script/rootless/nsenter.sh -------------------------------------------------------------------------------- /types/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdtpartners/nix-snapshotter/HEAD/types/types.go --------------------------------------------------------------------------------