From dd1d104d8bcfd23791bb8d3e0bdf2f689e627476 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 28 Apr 2024 23:09:30 +0200 Subject: mba: set linux-builder.config to a function to avoid import --- system/mba.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/system/mba.nix b/system/mba.nix index 43599eed..b49fe705 100644 --- a/system/mba.nix +++ b/system/mba.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: { +{ ... }: { imports = [ ./settings/darwin.nix ./settings/programs/base.nix @@ -39,7 +39,7 @@ nix.linux-builder = { maxJobs = 4; - config = { + config = { pkgs, ... }: { virtualisation = { darwin-builder = { diskSize = 60 * 1024; @@ -52,9 +52,7 @@ ./settings/configuration/user.nix ./settings/programs/shell.nix ]; - environment.systemPackages = with (import inputs.nixpkgs { - system = "aarch64-linux"; - }); [ + environment.systemPackages = with pkgs; [ kitty.terminfo hello ]; -- cgit 1.4.1