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 + ]; }