remove unneeded nextclound-client; new ryujinx name; add lots of git config;

This commit is contained in:
2025-02-25 17:56:12 +00:00
parent 6b166adadf
commit bbc1933f92
6 changed files with 43 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, config, ... }:
{ pkgs, lib, ... }:
{
imports = [

View File

@@ -46,14 +46,6 @@ with lib;
bash = {
enable = true;
bashrcExtra = ''
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
source $(blesh-share)/ble.sh
bleopt canvas_winch_action=redraw-prev
'';
@@ -64,7 +56,7 @@ with lib;
delta.enable = true;
extraConfig = {
credential = {
helper = [ "cache --timeout 21600" "${pkgs.git-credential-oauth}/bin/git-credential-oauth" "${pkgs.git-credential-manager}/bin/git-credential-manager" ];
helper = [ "cache --timeout 21600" "${pkgs.git-credential-manager}/bin/git-credential-manager" "${pkgs.git-credential-oauth}/bin/git-credential-oauth" ];
credentialStore = "secretservice";
};
"credential \"https://dev.azure.com\"" = {
@@ -73,6 +65,35 @@ with lib;
"credential \"https://git.worble.xyz\"" = {
provider = "generic";
};
# stealing from https://blog.gitbutler.com/how-git-core-devs-configure-git/
column = {
ui = "auto";
};
branch = {
sort = "-committerdate";
};
tag = {
sort = "version:refname";
};
diff = {
algorithm = "histogram";
colorMoved = "plain";
mnemonicPrefix = true;
renames = true;
};
push = {
followTags = true;
};
fetch = {
prune = true;
pruneTags = true;
all = true;
};
rebase = {
autoSquash = true;
autoStash = true;
updateRefs = true;
};
};
};

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
{
programs = {

View File

@@ -1,9 +1,9 @@
{ inputs, pkgs, config, ... }:
{ inputs, pkgs, ... }:
{
home.packages = with pkgs;[
steamguard-cli
bottles
inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".ryujinx-greemdev
inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".ryubing
];
}