diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-01-08 12:37:15 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-02-01 17:59:18 +0100 |
commit | 63178ae5616f41be5fad6e92ac2c349c656d440e (patch) | |
tree | 42beb23639f9521323695192dc89880b2b9d21c9 /nixos | |
parent | ed1f13244b080df6fc0b249590ce5d06a726aea6 (diff) | |
download | nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.tar nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.tar.gz nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.tar.bz2 nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.tar.lz nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.tar.xz nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.tar.zst nixpkgs-63178ae5616f41be5fad6e92ac2c349c656d440e.zip |
nixos/kubernetes: add zfs to path
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/cluster/kubernetes/kubelet.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/nixos/modules/services/cluster/kubernetes/kubelet.nix b/nixos/modules/services/cluster/kubernetes/kubelet.nix index 2b6e45ba1b9..479027f1b27 100644 --- a/nixos/modules/services/cluster/kubernetes/kubelet.nix +++ b/nixos/modules/services/cluster/kubernetes/kubelet.nix @@ -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}" |