forked from mirrors/nixpkgs
nixos/k3s: add zfs to path
This commit is contained in:
parent
7c310e8d28
commit
03582eb6e3
|
@ -87,6 +87,7 @@ in
|
|||
description = "k3s service";
|
||||
after = mkIf cfg.docker [ "docker.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = optional config.boot.zfs.enabled config.boot.zfs.package;
|
||||
serviceConfig = {
|
||||
# See: https://github.com/rancher/k3s/blob/dddbd16305284ae4bd14c0aade892412310d7edc/install.sh#L197
|
||||
Type = if cfg.role == "agent" then "exec" else "notify";
|
||||
|
|
Loading…
Reference in a new issue