Nyx: add git config

This commit is contained in:
blahai 2024-12-13 16:54:34 +02:00
parent 3f62b901bd
commit 2f7fbccd0f
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -1,5 +1,4 @@
{ inputs, config, pkgs, lib, ... }:
{
{ inputs, config, pkgs, lib, ... }: {
imports = [
../../modules/home-manager/default.nix
inputs.catppuccin.homeManagerModules.catppuccin
@ -8,6 +7,28 @@
home.username = "pingu";
home.homeDirectory = "/home/pingu";
programs.git = {
enable = true;
lfs.enable = true;
userName = "blahai";
userEmail = "github@blahai.gay";
diff-so-fancy.enable = true;
signing = {
signByDefault = true;
key = "/home/pingu/.ssh/id_ed25519";
};
extraConfig = {
core = {
editor = "nvim";
autocrlf = "input";
};
gpg = {
format = "ssh";
};
init = { defaultBranch = "main"; };
};
};
gtk = {
enable = true;
catppuccin = {
@ -26,15 +47,11 @@
size = 24;
};
home.stateVersion = "24.05";
home.stateVersion = "24.11";
home.packages = with pkgs; [
obsidian
];
home.packages = with pkgs; [ obsidian ];
home.sessionVariables = {
EDITOR = "nvim";
};
home.sessionVariables = { EDITOR = "nvim"; };
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;