diff --git a/machine/not522/installer/default.nix b/machine/not522/installer/default.nix index e18454b4..1b560dff 100644 --- a/machine/not522/installer/default.nix +++ b/machine/not522/installer/default.nix @@ -36,6 +36,5 @@ in { set -eux exec ${pkgs.disko}/bin/disko-install --flake "${nixos-config}#not522" --disk main "${nixos-config.nixosConfigurations.not522.config.disko.devices.disk.main.device}" '') - pkgs.gitMinimal ]; } diff --git a/modules/nix/lix.nix b/modules/nix/lix.nix index 4f655b13..47de147a 100644 --- a/modules/nix/lix.nix +++ b/modules/nix/lix.nix @@ -1,10 +1,16 @@ { lix-module, inTester, + config, + pkgs, ... }: { imports = if inTester then [] else [lix-module.nixosModules.default]; + + environment.systemPackages = mkIf config.nix.enable [ + pkgs.gitMinimal + ]; }