summaryrefslogtreecommitdiffstats
path: root/lass/1systems/hilum/config.nix
diff options
context:
space:
mode:
authorJeschli <jeschli@gmail.com>2020-02-18 21:13:06 +0100
committerJeschli <jeschli@gmail.com>2020-02-18 21:13:06 +0100
commit6959379330a61d166e37feea1c6e648d4873388e (patch)
tree6487ba188a0c31a53327d4c715cbb6cb8c6aad3b /lass/1systems/hilum/config.nix
parent5e33a13f3a7f10431cc3a29a1070f4ecbce44563 (diff)
parente82a2561e0a1884f5596a1f093daf27e4ba7e471 (diff)
Merge branch 'master' of https://cgit.lassul.us/stockholm
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";