summaryrefslogtreecommitdiffstats
path: root/lass/1systems/hilum/config.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-02-19 14:43:00 +0100
committermakefu <github@syntax-fehler.de>2020-02-19 14:43:00 +0100
commite5bf98defe33dd8c0cb12e36d4268c1344781f57 (patch)
tree8907979b4434cb6846f0d2cacdbb07eed92568b9 /lass/1systems/hilum/config.nix
parent7f197bc2b842670707937779510cc4efc1a50dd4 (diff)
parente82a2561e0a1884f5596a1f093daf27e4ba7e471 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/1systems/hilum/config.nix')
-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";