fix import syntax

This commit is contained in:
nyxerinys 2026-06-29 11:03:05 -05:00
parent 9291374d2e
commit 5bc9477bfc
3 changed files with 98 additions and 103 deletions

View file

@ -4,6 +4,5 @@ let
./rsshfs-client.nix ./rsshfs-client.nix
./rsshfs-server.nix ./rsshfs-server.nix
]; ];
imported = map ( n: import n args ) images;
in in
lib.foldl' lib.recursiveUpdate {} imported map (image: import image args ) images

View file

@ -120,7 +120,6 @@ let
HostKey /tmp/ssh_host_ed25519_key HostKey /tmp/ssh_host_ed25519_key
''; '';
in in
{
pkgs.dockerTools.buildLayeredImage { pkgs.dockerTools.buildLayeredImage {
name = "rsshfs-server"; name = "rsshfs-server";
tag = "latest"; tag = "latest";
@ -169,4 +168,3 @@ in
Cmd = [ "/bin/rsshfs" "rsshfs" "/" "/containers/tmp" ]; Cmd = [ "/bin/rsshfs" "rsshfs" "/" "/containers/tmp" ];
}; };
} }
}

View file

@ -36,7 +36,6 @@ let
HostKey /tmp/ssh_host_ed25519_key HostKey /tmp/ssh_host_ed25519_key
''; '';
in in
{
pkgs.dockerTools.buildLayeredImage { pkgs.dockerTools.buildLayeredImage {
name = "rsshfs-client"; name = "rsshfs-client";
tag = "latest"; tag = "latest";
@ -89,4 +88,3 @@ in
ExposedPorts = { "2222/tcp" = {}; }; ExposedPorts = { "2222/tcp" = {}; };
}; };
} }
}