nixos/podman: Add zfs to wrapper if enabled
This commit is contained in:
parent
5b6e4187ad
commit
e42f06f93f
1 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,10 @@ let
|
|||
|
||||
inherit (lib) mkOption types;
|
||||
|
||||
podmanPackage = (pkgs.podman.override { inherit (cfg) extraPackages; });
|
||||
podmanPackage = (pkgs.podman.override {
|
||||
extraPackages = cfg.extraPackages
|
||||
++ lib.optional (builtins.elem "zfs" config.boot.supportedFilesystems) config.boot.zfs.package;
|
||||
});
|
||||
|
||||
# Provides a fake "docker" binary mapping to podman
|
||||
dockerCompat = pkgs.runCommand "${podmanPackage.pname}-docker-compat-${podmanPackage.version}" {
|
||||
|
|
Loading…
Reference in a new issue