diff --git a/modules/outputs/updater/default.nix b/modules/outputs/updater/default.nix index e7bb279..7ce91a3 100644 --- a/modules/outputs/updater/default.nix +++ b/modules/outputs/updater/default.nix @@ -27,7 +27,8 @@ in config.system.outputs.updater = runCommand "buildUpdater" { } '' - mkdir -p $out/bin + mkdir -p $out/bin $out/etc + cp ${o.kernel.config} $out/etc/kconfig substitute ${./update.sh} $out/bin/update.sh \ --subst-var-by toplevel ${o.systemConfiguration} \ --subst-var-by min_copy_closure ${min-copy-closure}