mirror of
https://github.com/blahai/nyx.git
synced 2025-02-22 22:45: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 = [
|
imports = [
|
||||||
../../modules/home-manager/default.nix
|
../../modules/home-manager/default.nix
|
||||||
inputs.catppuccin.homeManagerModules.catppuccin
|
inputs.catppuccin.homeManagerModules.catppuccin
|
||||||
|
@ -8,6 +7,28 @@
|
||||||
home.username = "pingu";
|
home.username = "pingu";
|
||||||
home.homeDirectory = "/home/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 = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
|
@ -26,15 +47,11 @@
|
||||||
size = 24;
|
size = 24;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.05";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [ obsidian ];
|
||||||
obsidian
|
|
||||||
];
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = { EDITOR = "nvim"; };
|
||||||
EDITOR = "nvim";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue