summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-02-10 13:24:11 +0100
committerlassulus <lassulus@lassul.us>2020-02-10 13:24:11 +0100
commitdae6e5380754eeb7db5789a14af22d88245fee02 (patch)
treedfcdc103915a830dea7d51d395d1e9407bd43304
parent180366625998e84eb76c078780beb6404e232bda (diff)
Revert "l hilum.r: get autoiso.cfg easier via git"
This reverts commit 472b52e98a2d36604c7f090b6e73fb2ee5b83796.
-rw-r--r--lass/1systems/hilum/config.nix9
1 files changed, 8 insertions, 1 deletions
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";