From 63e6aa1b813ecbfd0671d08c8c74e40d8173019d Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sat, 4 Nov 2023 15:36:48 +0800 Subject: [PATCH] flake: install git --- nixos/nix/flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/nix/flake.nix b/nixos/nix/flake.nix index 22841dd..590718a 100755 --- a/nixos/nix/flake.nix +++ b/nixos/nix/flake.nix @@ -1,9 +1,12 @@ -{ ... }: +{ pkgs, ... }: { # Enable Flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; + # Install Git + environment.systemPackages = [ pkgs.git ]; + # Does not work with Flake based configurations system.copySystemConfiguration = false; programs.command-not-found.enable = false;