move o.systemConfiguration to initramfs module

as far as I can tell, we define it identically in every module
that uses initramfs
pull/2/head
Daniel Barlow 2023-12-11 21:47:15 +00:00
parent d707345891
commit 80528376a2
4 changed files with 2 additions and 6 deletions

View File

@ -20,8 +20,6 @@ in
}; };
boot.initramfs.enable = true; boot.initramfs.enable = true;
system.outputs = { system.outputs = {
systemConfiguration =
pkgs.systemconfig config.filesystem.contents;
rootfs = rootfs =
let let
inherit (pkgs.pkgsBuildBuild) runCommand e2fsprogs; inherit (pkgs.pkgsBuildBuild) runCommand e2fsprogs;

View File

@ -53,6 +53,8 @@ in
file /init ${pkgs.preinit}/bin/preinit 0755 0 0 file /init ${pkgs.preinit}/bin/preinit 0755 0 0
SPECIALS SPECIALS
''; '';
systemConfiguration =
pkgs.systemconfig config.filesystem.contents;
}; };
}; };
} }

View File

@ -24,8 +24,6 @@ in
}; };
boot.initramfs.enable = true; boot.initramfs.enable = true;
system.outputs = { system.outputs = {
systemConfiguration =
pkgs.systemconfig config.filesystem.contents;
rootfs = rootfs =
let let
inherit (pkgs.pkgsBuildBuild) runCommand mtdutils; inherit (pkgs.pkgsBuildBuild) runCommand mtdutils;

View File

@ -26,8 +26,6 @@ in
}; };
boot.initramfs.enable = true; boot.initramfs.enable = true;
system.outputs = { system.outputs = {
systemConfiguration =
pkgs.systemconfig config.filesystem.contents;
rootfs = rootfs =
let let
inherit (pkgs.pkgsBuildBuild) runCommand mtdutils; inherit (pkgs.pkgsBuildBuild) runCommand mtdutils;