Merge branch 'master' of ssh://git.joshuabell.xyz:3032/ringofstorms/dotfiles

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-03 21:31:34 +00:00
commit 79897f552d
2 changed files with 26 additions and 9 deletions

View file

@ -1,12 +1,20 @@
{ ... }:
{
programs.difftastic = {
enable = true;
git.enable = true;
options = {
background = "dark";
};
};
programs.git = {
enable = true;
# TODO make configurable
userEmail = "ringofstorms@gmail.com";
userName = "RingOfStorms (Joshua Bell)";
extraConfig = {
settings = {
user = {
email = "ringofstorms@gmail.com";
name = "RingOfStorms (Joshua Bell)";
};
core.pager = "bat";
core.editor = "nano";
@ -17,11 +25,6 @@
rerere.enabled = true;
};
difftastic = {
enable = true;
background = "dark";
};
ignores = [
# --------------
# Intellij

View file

@ -20,7 +20,21 @@ in
Host *
SetEnv TERM=xterm-256color
'';
enableDefaultConfig = false;
matchBlocks = {
"*" = {
forwardAgent = false;
addKeysToAgent = "no";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no";
};
# EXTERNAL
"github.com" = lib.mkIf (hasSecret "nix2github") {
identityFile = age.secrets.nix2github.path;