mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
made dummy option for deadnix to shutup about disko update flake.lock stopped using neovim overlay
33 lines
577 B
Nix
33 lines
577 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
cfg = config.localModules.git;
|
|
in {
|
|
options.localModules.git = {
|
|
disable = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
config = lib.mkIf (! cfg.disable) {
|
|
programs.git = {
|
|
enable = true;
|
|
package = pkgs.gitMinimal;
|
|
config = {
|
|
user = {
|
|
name = "Gerg-L";
|
|
email = "GregLeyda@proton.me";
|
|
};
|
|
init = {
|
|
defaultBranch = "master";
|
|
};
|
|
push = {
|
|
autoSetupRemote = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|