fix 25.11 deprecations
This commit is contained in:
parent
dd70b4ba81
commit
10cb42ba21
2 changed files with 26 additions and 9 deletions
|
|
@ -1,12 +1,20 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
|
programs.difftastic = {
|
||||||
|
enable = true;
|
||||||
|
git.enable = true;
|
||||||
|
options = {
|
||||||
|
background = "dark";
|
||||||
|
};
|
||||||
|
};
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# TODO make configurable
|
# TODO make configurable
|
||||||
userEmail = "ringofstorms@gmail.com";
|
settings = {
|
||||||
userName = "RingOfStorms (Joshua Bell)";
|
user = {
|
||||||
|
email = "ringofstorms@gmail.com";
|
||||||
extraConfig = {
|
name = "RingOfStorms (Joshua Bell)";
|
||||||
|
};
|
||||||
core.pager = "bat";
|
core.pager = "bat";
|
||||||
core.editor = "nano";
|
core.editor = "nano";
|
||||||
|
|
||||||
|
|
@ -17,11 +25,6 @@
|
||||||
rerere.enabled = true;
|
rerere.enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
difftastic = {
|
|
||||||
enable = true;
|
|
||||||
background = "dark";
|
|
||||||
};
|
|
||||||
|
|
||||||
ignores = [
|
ignores = [
|
||||||
# --------------
|
# --------------
|
||||||
# Intellij
|
# Intellij
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,21 @@ in
|
||||||
Host *
|
Host *
|
||||||
SetEnv TERM=xterm-256color
|
SetEnv TERM=xterm-256color
|
||||||
'';
|
'';
|
||||||
|
enableDefaultConfig = false;
|
||||||
matchBlocks = {
|
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
|
# EXTERNAL
|
||||||
"github.com" = lib.mkIf (hasSecret "nix2github") {
|
"github.com" = lib.mkIf (hasSecret "nix2github") {
|
||||||
identityFile = age.secrets.nix2github.path;
|
identityFile = age.secrets.nix2github.path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue