Skip to content

Commit

Permalink
feat(nixos): enable experimental features and containerd-snapshotter …
Browse files Browse the repository at this point in the history
…for Docker

- Updated Docker configuration to enable experimental features.
- Added containerd-snapshotter support in Docker settings.
- Ensured Docker is enabled in the virtualisation section.
  • Loading branch information
erikreinert committed Jul 26, 2024
1 parent f5a3c10 commit 4a1a2a2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,17 @@
};

virtualisation = {
docker.enable = true;
docker = {
daemon = {
settings = {
"experimental" = true;
"features" = {
"containerd-snapshotter" = true;
};
};
};
enable = true;
};

vmware.guest.enable =
if hypervisor.type == "vmware"
Expand Down

0 comments on commit 4a1a2a2

Please sign in to comment.