mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
18 lines
450 B
Nix
18 lines
450 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
# no declarative parameters for git as it would show in a public git repo more info than I would like. Just use the following commands
|
|
# git config --global user.name "YourName"
|
|
# git config --global user.email "YourEmail"
|
|
# git config --global init.defaultBranch main
|
|
|
|
#cd ~/nixos\
|
|
#git add .
|
|
#git commit -m "Update NixOS configuration"
|
|
#git push origin master
|
|
|
|
};
|
|
}
|