adjusted extraFiles
This commit is contained in:
parent
41ae5cc381
commit
66c1c27ddd
14
quickly.nix
14
quickly.nix
@ -40,18 +40,10 @@ in
|
||||
};
|
||||
|
||||
boot.initrd = {
|
||||
|
||||
# Include your files in the initrd
|
||||
# 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
|
||||
extraFiles."./config/initrd-include".source = pkgs.runCommandNoCC "/install" {} "cp -R ${./config/initrd-include} $out";
|
||||
extraFiles = {
|
||||
install.source = ./config/initrd-include;
|
||||
};
|
||||
|
||||
postMountCommands = ''
|
||||
echo "Mounting initial store"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user