mirror of
https://github.com/blahai/nyx.git
synced 2025-02-22 16:55:09 +00:00
Nyx: add git config
This commit is contained in:
parent
3f62b901bd
commit
2f7fbccd0f
1 changed files with 26 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue