fix 25.11 deprecations

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-03 11:36:39 -06:00
parent dd70b4ba81
commit 10cb42ba21
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;