summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorMichele Guerini Rocco <rnhmjoj@users.noreply.github.com>2020-03-13 09:58:10 +0100
committerGitHub <noreply@github.com>2020-03-13 09:58:10 +0100
commit7b15d6cee4839c5ef2e3a9fea355b6007f008820 (patch)
tree58fab3d31d9b48cfda31cbaa4113f1dd6d3e43c3 /nixos/modules/system
parentb6ae8193edd5fb5188565d6163c86e76a096a500 (diff)
parentce416779bbb5d86210cbf2cc5060cc81faf53c94 (diff)
Merge pull request #81241 from thefloweringash/nesting-system
nixos/activation: propagate system to nested configurations
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/activation/top-level.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index f67d29005616..14bd751ce324 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -15,6 +15,7 @@ let
map (childConfig:
(import ../../../lib/eval-config.nix {
inherit baseModules;
+ system = config.nixpkgs.initialSystem;
modules =
(optionals inheritParent modules)
++ [ ./no-clone.nix ]