refactor out home manager module git

This commit is contained in:
Kim, Jimin 2024-10-21 11:22:38 +09:00
parent fdc3ca2c40
commit 2eb99c3737
Signed by: pomp
GPG key ID: D3932F82A0667A3B
5 changed files with 21 additions and 2 deletions

View file

@ -94,7 +94,6 @@
## General CLI / TUI ## General CLI / TUI
wget wget
just just
git
vim vim
btop btop
nvitop nvitop

View file

@ -4,6 +4,7 @@
imports = [ imports = [
../../modules/home-manager/dconf-gnome-extension-blur-my-shell.nix ../../modules/home-manager/dconf-gnome-extension-blur-my-shell.nix
../../modules/home-manager/dconf-input.nix ../../modules/home-manager/dconf-input.nix
../../modules/home-manager/git.nix
]; ];
home.username = "pomp"; home.username = "pomp";

View file

@ -18,7 +18,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim vim
git
just just
brave brave
vscodium vscodium

View file

@ -4,6 +4,7 @@
imports = [ imports = [
../../modules/home-manager/dconf-gnome-extension-blur-my-shell.nix ../../modules/home-manager/dconf-gnome-extension-blur-my-shell.nix
../../modules/home-manager/dconf-input.nix ../../modules/home-manager/dconf-input.nix
../../modules/home-manager/git.nix
]; ];
home.username = "pomp"; home.username = "pomp";

View file

@ -0,0 +1,19 @@
{ ... }:
{
programs.git = {
enable = true;
lfs.enable = true;
userName = "developomp";
userEmail = "developomp@protonmail.com";
signing = {
signByDefault = true;
key = "2B516173EDD492EB";
};
extraConfig = {
init = {
defaultBranch = "master";
};
};
};
}