From 3b7d270f089bd25cb6abe7448cbb2b0d6c00db30 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Thu, 31 Jul 2025 10:43:11 -0400 Subject: [PATCH] use mini nvix for minimal --- hosts/common/core/editor.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hosts/common/core/editor.nix b/hosts/common/core/editor.nix index c8a24eb..6380881 100644 --- a/hosts/common/core/editor.nix +++ b/hosts/common/core/editor.nix @@ -1,9 +1,15 @@ { + hostSpec, pkgs, inputs, ... }: { - environment.systemPackages = [ - inputs.nvix.packages.${pkgs.system}.default - ]; + environment.systemPackages = + if hostSpec.isMinimal + then [ + inputs.nvix.packages.${pkgs.system}.mini + ] + else [ + inputs.nvix.packages.${pkgs.system}.default + ]; }