Compare commits

...

2 commits

Author SHA1 Message Date
b11e752c02
fix: added missing imports 2024-09-18 15:03:59 +02:00
876909959c
fix: added toplevel configuration 2024-09-18 13:13:52 +02:00
3 changed files with 15 additions and 0 deletions

View file

@ -105,6 +105,9 @@ in {
};
};
};
imports = [ ./nixpkgs.nix ];
config = {
# By default, we enable cross-compilation support.
nixpkgs.buildPlatform = lib.mkDefault builtins.currentSystem;

View file

@ -331,6 +331,8 @@ in
};
};
imports = [ ./misc/assertions.nix ];
config = {
_module.args = {
pkgs =

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