fix: added toplevel configuration

This commit is contained in:
soyouzpanda 2024-09-18 13:13:52 +02:00
parent 013e4c396c
commit 876909959c
Signed by: ecoppens
GPG key ID: 871893E37A732093

View file

@ -13,6 +13,14 @@ in
boot.initramfs = {
enable = mkEnableOption "initramfs";
};
system.build.toplevel = mkOption {
type = types.package;
description = ''
pkgs.systemconfig for the configured filesystem,
contains 'activate' and 'init' commands
'';
internal = true;
};
system.outputs = {
initramfs = mkOption {
type = types.package;
@ -39,6 +47,8 @@ in
INITRAMFS_COMPRESSION_ZSTD = "y";
};
system.build.toplevel = config.system.outputs.systemConfiguration;
system.outputs = {
initramfs =
let