forked from hacc/haccfiles
hainich: move docker to zfs driver
This commit is contained in:
parent
26ddc3f339
commit
33e68ade7b
2 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,11 @@
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/var/lib/docker" =
|
||||||
|
{ device = "dpool/docker";
|
||||||
|
fsType = "zfs";
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/var/lib/gitlab-runner" =
|
fileSystems."/var/lib/gitlab-runner" =
|
||||||
{ device = "dpool/gitlab-runner";
|
{ device = "dpool/gitlab-runner";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
|
|
@ -22,4 +22,6 @@
|
||||||
extraGroups = [ "docker" ];
|
extraGroups = [ "docker" ];
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtualisation.docker.storageDriver = "zfs";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue