rename specialArgs -> args
This commit is contained in:
parent
ce996f9956
commit
af1da3dbc3
3 changed files with 12 additions and 15 deletions
|
|
@ -52,7 +52,7 @@
|
|||
in {
|
||||
base = null;
|
||||
extraModules = [];
|
||||
specialArgs = Terminal {};
|
||||
args = Terminal {};
|
||||
|
||||
groups = Terminal {};
|
||||
nodes = Terminal {};
|
||||
|
|
@ -189,19 +189,16 @@ in {
|
|||
node,
|
||||
...
|
||||
}: let
|
||||
nixosDecl = lib.nixosSystem {
|
||||
nixosDecl = lib.nixosSystem rec {
|
||||
system = node.system;
|
||||
specialArgs = let
|
||||
specialArgs =
|
||||
nexus.specialArgs
|
||||
// node.specialArgs
|
||||
// {
|
||||
inherit root specialArgs;
|
||||
inherit (node) system;
|
||||
_deploy-rs = inputs.deploy-rs;
|
||||
};
|
||||
in
|
||||
specialArgs;
|
||||
specialArgs =
|
||||
nexus.args
|
||||
// node.args
|
||||
// {
|
||||
inherit root specialArgs;
|
||||
inherit (node) system;
|
||||
_deploy-rs = inputs.deploy-rs;
|
||||
};
|
||||
modules =
|
||||
[
|
||||
self.nixosModules.default
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ in rec {
|
|||
system = missing "its system architecture" "system";
|
||||
groups = [];
|
||||
extraModules = [];
|
||||
specialArgs = Terminal {};
|
||||
args = Terminal {};
|
||||
|
||||
base = null;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
extraModules = mkOption {
|
||||
type = types.listOf types.path;
|
||||
};
|
||||
specialArgs = mkOption {
|
||||
args = mkOption {
|
||||
type = types.attrs;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue