From e9a119ead4272db6f3b9f44355251418abed8c60 Mon Sep 17 00:00:00 2001 From: installer Date: Mon, 8 Jul 2024 13:10:58 +0200 Subject: [PATCH] nixos/installation-cd-base: add git & rsync --- nixos/modules/installer/cd-dvd/installation-cd-base.nix | 6 ++++++ .../installer/cd-dvd/installation-cd-graphical-base.nix | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix index 3f92b779d60a2..b8aa4480f3528 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix @@ -46,5 +46,11 @@ with lib; done ''; + environment.defaultPackages = with pkgs; [ + rsync + ]; + + programs.git.enable = lib.mkDefault true; + system.stateVersion = lib.mkDefault lib.trivial.release; } diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix index 4a00c52916f69..487c02ccacda9 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix @@ -56,10 +56,6 @@ with lib; vim nano - # Include some version control tools. - git - rsync - # Firefox for reading the manual. firefox