update install files
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
#disko = pkgs.callPackage ../pkgs/disko/package.nix {};
|
||||
#disko = "github:nix-community/disko"
|
||||
#in
|
||||
let
|
||||
installFiles = pkgs.runCommand "install-files" {} ''
|
||||
mkdir -p $out
|
||||
cp -rv ${./config/initrd-include}/* $out/
|
||||
'';
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../quickly.nix
|
||||
@@ -21,6 +27,11 @@
|
||||
tree
|
||||
];
|
||||
};
|
||||
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
|
||||
@@ -28,6 +39,7 @@
|
||||
coreutils-full
|
||||
nixos-install
|
||||
nettools
|
||||
installFiles
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user