rename specialArgs -> args

This commit is contained in:
do butterflies cry? 2026-02-17 11:42:59 +10:00
parent ce996f9956
commit af1da3dbc3
3 changed files with 12 additions and 15 deletions

View file

@ -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

View file

@ -36,7 +36,7 @@ in rec {
system = missing "its system architecture" "system";
groups = [];
extraModules = [];
specialArgs = Terminal {};
args = Terminal {};
base = null;

View file

@ -27,7 +27,7 @@
extraModules = mkOption {
type = types.listOf types.path;
};
specialArgs = mkOption {
args = mkOption {
type = types.attrs;
};