containers: make all variables explicit
Instead of merging the argument set just make all arguments explicit.
This commit is contained in:
parent
fc94819a23
commit
0836c22881
5 changed files with 31 additions and 23 deletions
|
@ -1,12 +1,13 @@
|
|||
{ ... } @ args:
|
||||
{ hostAddress
|
||||
, localAddress
|
||||
, imapsPort ? 993
|
||||
, sievePort ? 4190
|
||||
}:
|
||||
|
||||
let
|
||||
passwords = import ../../variables/passwords.crypt.nix;
|
||||
|
||||
in
|
||||
{ imapsPort ? 993
|
||||
, sievePort ? 4190
|
||||
}: args // {
|
||||
in {
|
||||
|
||||
config = { pkgs, ... }: {
|
||||
imports = [
|
||||
|
@ -158,4 +159,6 @@ in
|
|||
protocol = "tcp";
|
||||
}
|
||||
];
|
||||
|
||||
inherit hostAddress localAddress;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue