refactor out home manager module git
This commit is contained in:
parent
fdc3ca2c40
commit
2eb99c3737
5 changed files with 21 additions and 2 deletions
|
@ -94,7 +94,6 @@
|
||||||
## General CLI / TUI
|
## General CLI / TUI
|
||||||
wget
|
wget
|
||||||
just
|
just
|
||||||
git
|
|
||||||
vim
|
vim
|
||||||
btop
|
btop
|
||||||
nvitop
|
nvitop
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
git
|
|
||||||
just
|
just
|
||||||
brave
|
brave
|
||||||
vscodium
|
vscodium
|
||||||
|
|
|
@ -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";
|
||||||
|
|
19
modules/home-manager/git.nix
Normal file
19
modules/home-manager/git.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue