feat: Enable Git program in base services

The primary change in this commit enables the Git program in the base/default service module. This marks a configuration alteration at the systems level, transferring the 'programs.git.enable' declaration from 'systems/x86_64-linux/mx/default.nix' to 'modules/nixos/services/base/default.nix'. We've undertaken this change for better structuring of our service configuration.
This commit is contained in:
Harald Hoyer 2024-06-12 10:52:58 +02:00
parent 7020c4acbc
commit 5c07871808
2 changed files with 2 additions and 2 deletions

View file

@ -157,7 +157,8 @@ in
environment.GIT_CONFIG_GLOBAL = toString gitconfig;
};
virtualisation.libvirtd.enable = true;
programs.git.enable = true;
virtualisation.libvirtd.enable = true;
};
}

View file

@ -36,7 +36,6 @@
};
programs.git.config.safe.directory = "/var/lib/gitea/repositories/harald/nixcfg.git";
programs.git.enable = true;
environment.systemPackages = with pkgs; [
age