From e7702dff6c63404a4b4d15f5cc4b51e14cc49182 Mon Sep 17 00:00:00 2001 From: willemml Date: Mon, 6 Nov 2023 11:33:55 -0800 Subject: [PATCH] Adds config and lib variables to live image configs --- nixos/hosts/asahi-live.nix | 6 +++++- nixos/hosts/live.nix | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/asahi-live.nix b/nixos/hosts/asahi-live.nix index 174f880..0e142d5 100644 --- a/nixos/hosts/asahi-live.nix +++ b/nixos/hosts/asahi-live.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + config, + ... +}: { boot.postBootCommands = let inherit (config.hardware.asahi.pkgs) asahi-fwextract; in '' diff --git a/nixos/hosts/live.nix b/nixos/hosts/live.nix index 7bfe57d..ecea4cd 100644 --- a/nixos/hosts/live.nix +++ b/nixos/hosts/live.nix @@ -1,4 +1,9 @@ -{pkgs, ...}: { +{ + pkgs, + lib, + config, + ... +}: { networking.hostName = "nixos-live"; isoImage.makeEfiBootable = true;