try install files again
This commit is contained in:
parent
5c590bb9ca
commit
846979defc
@ -7,6 +7,8 @@ let
|
|||||||
installFiles = pkgs.runCommand "install-files" {} ''
|
installFiles = pkgs.runCommand "install-files" {} ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -rv ${./initrd-include}/* $out/
|
cp -rv ${./initrd-include}/* $out/
|
||||||
|
mkdir /install
|
||||||
|
ln -s $out /install
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@ -27,11 +29,11 @@ in
|
|||||||
tree
|
tree
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
boot.initrd = {
|
#boot.initrd = {
|
||||||
extraFiles = {
|
# extraFiles = {
|
||||||
"install".source = installFiles;
|
# "install".source = installFiles;
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
wget
|
wget
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user