forked from DGNum/liminix
Compare commits
2 commits
limiswitch
...
main
Author | SHA1 | Date | |
---|---|---|---|
b11e752c02 | |||
876909959c |
3 changed files with 15 additions and 0 deletions
|
@ -105,6 +105,9 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
imports = [ ./nixpkgs.nix ];
|
||||
|
||||
config = {
|
||||
# By default, we enable cross-compilation support.
|
||||
nixpkgs.buildPlatform = lib.mkDefault builtins.currentSystem;
|
||||
|
|
|
@ -331,6 +331,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
imports = [ ./misc/assertions.nix ];
|
||||
|
||||
config = {
|
||||
_module.args = {
|
||||
pkgs =
|
||||
|
|
|
@ -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