From 71eaf5ef32e276af8ab9fc1500373542e6f3aff9 Mon Sep 17 00:00:00 2001 From: kekrby Date: Sun, 2 Oct 2022 19:12:31 +0300 Subject: [PATCH] common.nix: install git globally (it is needed for fetchGit, which is used for fetching nixos-hardware during the installation) --- nix/common.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/common.nix b/nix/common.nix index 71f24ed..e2d6202 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { nix = { @@ -9,4 +9,8 @@ "t2linux.cachix.org-1:P733c5Gt1qTcxsm+Bae0renWnT8OLs0u9+yfaK2Bejw=" ]; }; + + environment.systemPackages = with pkgs; [ + git + ]; }