diff options
author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2020-03-13 09:58:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 09:58:10 +0100 |
commit | 7b15d6cee4839c5ef2e3a9fea355b6007f008820 (patch) | |
tree | 58fab3d31d9b48cfda31cbaa4113f1dd6d3e43c3 /nixos/modules/misc | |
parent | b6ae8193edd5fb5188565d6163c86e76a096a500 (diff) | |
parent | ce416779bbb5d86210cbf2cc5060cc81faf53c94 (diff) |
Merge pull request #81241 from thefloweringash/nesting-system
nixos/activation: propagate system to nested configurations
Diffstat (limited to 'nixos/modules/misc')
-rw-r--r-- | nixos/modules/misc/nixpkgs.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix index afb74581e239..011d493c1538 100644 --- a/nixos/modules/misc/nixpkgs.nix +++ b/nixos/modules/misc/nixpkgs.nix @@ -216,6 +216,14 @@ in Ignored when <code>nixpkgs.pkgs</code> is set. ''; }; + + initialSystem = mkOption { + type = types.str; + internal = true; + description = '' + Preserved value of <literal>system</literal> passed to <literal>eval-config.nix</literal>. + ''; + }; }; config = { |