fix import syntax
This commit is contained in:
parent
9291374d2e
commit
5bc9477bfc
3 changed files with 98 additions and 103 deletions
|
|
@ -4,6 +4,5 @@ let
|
|||
./rsshfs-client.nix
|
||||
./rsshfs-server.nix
|
||||
];
|
||||
imported = map ( n: import n args ) images;
|
||||
in
|
||||
lib.foldl' lib.recursiveUpdate {} imported
|
||||
map (image: import image args ) images
|
||||
|
|
@ -120,7 +120,6 @@ let
|
|||
HostKey /tmp/ssh_host_ed25519_key
|
||||
'';
|
||||
in
|
||||
{
|
||||
pkgs.dockerTools.buildLayeredImage {
|
||||
name = "rsshfs-server";
|
||||
tag = "latest";
|
||||
|
|
@ -169,4 +168,3 @@ in
|
|||
Cmd = [ "/bin/rsshfs" "rsshfs" "/" "/containers/tmp" ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -36,7 +36,6 @@ let
|
|||
HostKey /tmp/ssh_host_ed25519_key
|
||||
'';
|
||||
in
|
||||
{
|
||||
pkgs.dockerTools.buildLayeredImage {
|
||||
name = "rsshfs-client";
|
||||
tag = "latest";
|
||||
|
|
@ -89,4 +88,3 @@ in
|
|||
ExposedPorts = { "2222/tcp" = {}; };
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue