Skip to content

Commit

Permalink
depend on gitMinimal instead of git (#587)
Browse files Browse the repository at this point in the history
* depend on gitMinimal instead of git


---------

Co-authored-by: Jonas Chevalier <[email protected]>
  • Loading branch information
Mic92 and zimbatm authored Dec 26, 2024
1 parent c32a1fa commit 2a30339
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion nixos/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Common configuration across *all* the machines
{
config,
pkgs,
lib,
options,
pkgs,
...
}:
{
Expand All @@ -14,6 +14,9 @@
../../shared/server.nix
];

# used in shared/server.nix
programs.git.package = lib.mkDefault pkgs.gitMinimal;

environment = {
# Print the URL instead on servers
variables.BROWSER = "echo";
Expand Down
2 changes: 1 addition & 1 deletion shared/server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# List packages installed in system profile.
environment.systemPackages = map lib.lowPrio [
# no config.programs.git.package option on darwin
(config.programs.git.package or pkgs.git)
(config.programs.git.package or pkgs.gitMinimal)
pkgs.curl
pkgs.dnsutils
pkgs.htop
Expand Down

0 comments on commit 2a30339

Please sign in to comment.