hainich: move docker to zfs driver

This commit is contained in:
hexchen 2020-11-29 12:23:32 +00:00
parent 26ddc3f339
commit 33e68ade7b
2 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,11 @@
fsType = "zfs";
};
fileSystems."/var/lib/docker" =
{ device = "dpool/docker";
fsType = "zfs";
};
fileSystems."/var/lib/gitlab-runner" =
{ device = "dpool/gitlab-runner";
fsType = "zfs";

View file

@ -22,4 +22,6 @@
extraGroups = [ "docker" ];
isSystemUser = true;
};
virtualisation.docker.storageDriver = "zfs";
}