try to fix podman + zfs
This commit is contained in:
parent
0bb8d114a8
commit
36c1e554d1
4 changed files with 17 additions and 2 deletions
|
@ -48,6 +48,12 @@
|
|||
networking.hostId = "e439b116";
|
||||
services.zfs.autoSnapshot.enable = true;
|
||||
|
||||
#virtualisation.containers.storage.settings = {
|
||||
# # 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";
|
||||
#};
|
||||
virtualisation.podman.extraPackages = [ pkgs.zfs ]; # make sure /var/lib/containers/storage is a zfs dataset
|
||||
|
||||
sops.defaultSopsFile = ../../secrets/chungus.yaml;
|
||||
|
||||
networking.hostName = "chungus";
|
||||
|
|
|
@ -171,6 +171,15 @@ in
|
|||
compression = "lz4";
|
||||
};
|
||||
};
|
||||
"container" = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/var/lib/containers/storage"; # needed for podman
|
||||
options = {
|
||||
mountpoint = "legacy";
|
||||
compression = "lz4";
|
||||
acltype = "posixacl"; # needed for podman
|
||||
};
|
||||
};
|
||||
"robi" = {
|
||||
type = "zfs_fs";
|
||||
mountpoint = "/robi";
|
||||
|
|
|
@ -331,6 +331,6 @@ in
|
|||
|
||||
] ++ (map pandocScript (lib.cartesianProductOfSets {
|
||||
inputFormat = [ "man" "markdown" "mediawiki" ];
|
||||
outputFormat = [ "mediawiki" "docbook5" "html5" "man" "jira" ];
|
||||
outputFormat = [ "mediawiki" "docbook5" "html5" "man" "jira" "markdown" ];
|
||||
}));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue