configuration.nix/hosts/skipper/virtualisation/docker.nix

12 lines
260 B
Nix

{ pkgs, ... }: {
environment.systemPackages = [ pkgs.docker-credential-helpers ];
virtualisation = {
docker = {
enable = true;
daemon.settings = {
data-root = "/persist/docker";
};
storageDriver = "btrfs";
};
};
}