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

13 lines
260 B
Nix
Raw Normal View History

2024-10-27 15:14:42 +05:30
{ pkgs, ... }: {
2024-01-05 18:50:42 +05:30
environment.systemPackages = [ pkgs.docker-credential-helpers ];
2023-03-15 22:11:59 +05:30
virtualisation = {
2023-03-15 22:48:55 +05:30
docker = {
2024-06-21 22:08:59 +05:30
enable = true;
2024-06-21 20:05:14 +05:30
daemon.settings = {
data-root = "/persist/docker";
2024-06-21 19:48:33 +05:30
};
2023-03-15 22:48:55 +05:30
storageDriver = "btrfs";
};
2023-03-15 22:11:59 +05:30
};
}