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,4 +1,7 @@
|
|||
{ config, ... } @ args:
|
||||
{ config
|
||||
, hostAddress
|
||||
, localAddress
|
||||
}:
|
||||
|
||||
let
|
||||
unstablepkgs = import <channels-nixos-unstable> { config = config.nixpkgs.config; };
|
||||
|
@ -63,7 +66,7 @@ let
|
|||
};
|
||||
|
||||
|
||||
in args // {
|
||||
in {
|
||||
config = { pkgs, ... }: {
|
||||
imports = [
|
||||
../profiles/containers/configuration.nix
|
||||
|
@ -189,4 +192,6 @@ in args // {
|
|||
privateNetwork = true;
|
||||
forwardPorts = [
|
||||
];
|
||||
|
||||
inherit hostAddress localAddress;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue