Add docker module
This commit is contained in:
parent
7cbf708ecf
commit
a8f637704a
9 changed files with 68 additions and 34 deletions
|
@ -10,7 +10,6 @@ with inputs.nixpkgs.lib; {
|
|||
mkHost = hostname: {
|
||||
platform ? "x86_64-linux",
|
||||
suite ? "",
|
||||
docker ? false,
|
||||
hostModules ? [],
|
||||
}: let
|
||||
# Secrets directory.
|
||||
|
@ -97,7 +96,6 @@ with inputs.nixpkgs.lib; {
|
|||
}
|
||||
]
|
||||
++ hostModules # Host-specific modules.
|
||||
++ optionals (docker == true) [./suites/server/docker] # Enable docker if required.
|
||||
++ (filesystem.listFilesRecursive ./modules); # Custom modules.
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue