From dae6e5380754eeb7db5789a14af22d88245fee02 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 10 Feb 2020 13:24:11 +0100 Subject: Revert "l hilum.r: get autoiso.cfg easier via git" This reverts commit 472b52e98a2d36604c7f090b6e73fb2ee5b83796. --- lass/1systems/hilum/config.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lass') diff --git a/lass/1systems/hilum/config.nix b/lass/1systems/hilum/config.nix index 470dd3aff..7a506591b 100644 --- a/lass/1systems/hilum/config.nix +++ b/lass/1systems/hilum/config.nix @@ -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"; -- cgit v1.2.3