Revert "l hilum.r: get autoiso.cfg easier via git"

This reverts commit 472b52e98a.
This commit is contained in:
lassulus 2020-02-10 13:24:11 +01:00
parent 1803666259
commit dae6e53807

View File

@ -21,7 +21,14 @@
source /grub/autoiso.cfg
}
'';
extraFiles."/grub/autoiso.cfg" = "${pkgs.grub2.src}/docs/autoiso.cfg";
extraFiles."/grub/autoiso.cfg" = (pkgs.stdenv.mkDerivation {
name = "autoiso.cfg";
src = pkgs.grub2.src;
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
cp docs/autoiso.cfg $out
'';
});
};
services.logind.lidSwitch = "ignore";