mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-13 19:45:48 +02:00
zfs: fix podman if recommended settings are enabled
This commit is contained in:
parent
b0884b6bd5
commit
e387e10335
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, libS, ... }:
|
||||
{ config, lib, libS, options, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.boot.zfs;
|
||||
|
@ -15,5 +15,12 @@ in
|
|||
};
|
||||
|
||||
services.zfs.autoScrub.enable = true;
|
||||
|
||||
virtualisation = {
|
||||
containers.storage.settings = lib.recursiveUpdate options.virtualisation.containers.storage.settings.default {
|
||||
# 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 = "${pkgs.fuse-overlayfs}/bin/fuse-overlayfs";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user