forked from DGNum/liminix
fix: added toplevel configuration
This commit is contained in:
parent
013e4c396c
commit
876909959c
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue