try install files again
This commit is contained in:
parent
5c590bb9ca
commit
846979defc
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user