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 = {
|
boot.initramfs = {
|
||||||
enable = mkEnableOption "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 = {
|
system.outputs = {
|
||||||
initramfs = mkOption {
|
initramfs = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
|
@ -39,6 +47,8 @@ in
|
||||||
INITRAMFS_COMPRESSION_ZSTD = "y";
|
INITRAMFS_COMPRESSION_ZSTD = "y";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.build.toplevel = config.system.outputs.systemConfiguration;
|
||||||
|
|
||||||
system.outputs = {
|
system.outputs = {
|
||||||
initramfs =
|
initramfs =
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue