diff --git a/quickly.nix b/quickly.nix index 35be503..64e068b 100644 --- a/quickly.nix +++ b/quickly.nix @@ -42,20 +42,16 @@ in boot.initrd = { # Include your files in the initrd - includeFiles = { + # this option came from AI, real option is extraFiles, keeping for reference + #includeFiles = { # Map local files to paths in the initrd #"/install/flake.nix" = ./install-files/flake.nix; #"/install/configuration.nix" = ./install-files/configuration.nix; # Add any other files you need - }; + #}; # Alternatively, you can include entire directories - contents = [ - { - object = ./config/initrd-include; - symlink = "/install"; - } - ]; + initrd.extraFiles."./config/initrd-include".source = pkgs.runCommandNoCC "/install" {} "cp -R ${./config/initrd-include} $out"; postMountCommands = '' echo "Mounting initial store"