try install files again

This commit is contained in:
Richard Mauer 2024-12-29 23:05:43 -05:00
parent 5c590bb9ca
commit 846979defc

View File

@ -7,6 +7,8 @@ let
installFiles = pkgs.runCommand "install-files" {} ''
mkdir -p $out
cp -rv ${./initrd-include}/* $out/
mkdir /install
ln -s $out /install
'';
in
{
@ -27,11 +29,11 @@ in
tree
];
};
boot.initrd = {
extraFiles = {
"install".source = installFiles;
};
};
#boot.initrd = {
# extraFiles = {
# "install".source = installFiles;
# };
#};
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget