Skip to content

Commit

Permalink
zfs: fix eval with ongoing PR
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Apr 28, 2024
1 parent f69f62d commit a6834d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/zfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ in
trim.enable = true;
};

virtualisation.containers.storage.settings = lib.mkIf cfg.recommendedDefaults (lib.recursiveUpdate options.virtualisation.containers.storage.settings.default {
# TODO: drop or after https://github.com/NixOS/nixpkgs/pull/307498 is merged
virtualisation.containers.storage.settings = lib.mkIf cfg.recommendedDefaults (lib.recursiveUpdate (options.virtualisation.containers.storage.settings.default or { }) {
# fixes: Error: 'overlay' is not supported over zfs, a mount_program is required: backing file system is unsupported for this graph driver
storage.options.mount_program = lib.getExe pkgs.fuse-overlayfs;
});
Expand Down

0 comments on commit a6834d2

Please sign in to comment.