nixos/kubernetes: add zfs to path

This commit is contained in:
Jörg Thalheim 2021-01-08 12:37:15 +01:00
parent ed1f13244b
commit 63178ae561
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -241,7 +241,17 @@ in
description = "Kubernetes Kubelet Service";
wantedBy = [ "kubernetes.target" ];
after = [ "network.target" "docker.service" "kube-apiserver.service" ];
path = with pkgs; [ gitMinimal openssh docker util-linux iproute ethtool thin-provisioning-tools iptables socat ] ++ top.path;
path = with pkgs; [
gitMinimal
openssh
docker
util-linux
iproute
ethtool
thin-provisioning-tools
iptables
socat
] ++ lib.optional config.boot.zfs.enabled config.boot.zfs.package ++ top.path;
preStart = ''
${concatMapStrings (img: ''
echo "Seeding docker image: ${img}"