diff --git a/configuration/hosts/hainich/hardware.nix b/configuration/hosts/hainich/hardware.nix index fd1afe7..587dc81 100644 --- a/configuration/hosts/hainich/hardware.nix +++ b/configuration/hosts/hainich/hardware.nix @@ -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"; diff --git a/configuration/hosts/hainich/services/gitlab-runner.nix b/configuration/hosts/hainich/services/gitlab-runner.nix index d49b363..cfecd1e 100644 --- a/configuration/hosts/hainich/services/gitlab-runner.nix +++ b/configuration/hosts/hainich/services/gitlab-runner.nix @@ -22,4 +22,6 @@ extraGroups = [ "docker" ]; isSystemUser = true; }; + + virtualisation.docker.storageDriver = "zfs"; }