Skip to content

Commit e579124

Browse files
committed
fix
1 parent 8ee6637 commit e579124

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nix/misc.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ in
6767
mkOci = {
6868
srv,
6969
img,
70-
cfgs ? [],
71-
dirs ? [],
70+
cfg ? [],
71+
mnt ? [],
7272
}: {
7373
lib,
7474
pkgs,
@@ -92,10 +92,10 @@ in
9292
virtualisation.oci-containers.containers.${srv} = {
9393
image = img;
9494
volumes =
95-
(map (x: x + ":" + x + ":ro") cfgs)
96-
++ (map (x: x + ":" + x) dirs);
95+
(map (x: x + ":" + x + ":ro") cfg)
96+
++ (map (x: x + ":" + x) mnt);
9797
cmd =
98-
concatMap (x: ["-f" x]) cfgs;
98+
concatMap (x: ["-f" x]) cfg;
9999
};
100100
};
101101
};

0 commit comments

Comments
 (0)