diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index df0fcd3..af1f561 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -94,7 +94,6 @@ ## General CLI / TUI wget just - git vim btop nvitop diff --git a/hosts/desktop/home.nix b/hosts/desktop/home.nix index 5345a68..26bc4ef 100644 --- a/hosts/desktop/home.nix +++ b/hosts/desktop/home.nix @@ -4,6 +4,7 @@ imports = [ ../../modules/home-manager/dconf-gnome-extension-blur-my-shell.nix ../../modules/home-manager/dconf-input.nix + ../../modules/home-manager/git.nix ]; home.username = "pomp"; diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index b2bdf51..2b8d98b 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -18,7 +18,6 @@ environment.systemPackages = with pkgs; [ vim - git just brave vscodium diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index 5345a68..26bc4ef 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -4,6 +4,7 @@ imports = [ ../../modules/home-manager/dconf-gnome-extension-blur-my-shell.nix ../../modules/home-manager/dconf-input.nix + ../../modules/home-manager/git.nix ]; home.username = "pomp"; diff --git a/modules/home-manager/git.nix b/modules/home-manager/git.nix new file mode 100644 index 0000000..9fc2684 --- /dev/null +++ b/modules/home-manager/git.nix @@ -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"; + }; + }; + }; +}