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

@@ -25,7 +25,6 @@ in
home.packages = with pkgs;[ home.packages = with pkgs;[
system-manager system-manager
nextcloud-client
]; ];
home.file = { home.file = {

18
flake.lock generated
View File

@@ -118,11 +118,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1740089251, "lastModified": 1740387674,
"narHash": "sha256-Y78mDBWoO8CLLTjQfPfII+KXFb6lAmF9GrLbyVBsIMM=", "narHash": "sha256-pGk/aA0EBvI6o4DeuZsr05Ig/r4uMlSaf5EWUZEWM10=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "18e9f9753e9ae261bcc7d3abe15745686991fd30", "rev": "d58f642ddb23320965b27beb0beba7236e9117b5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -150,11 +150,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1740126099, "lastModified": 1740367490,
"narHash": "sha256-ozoOtE2hGsqh4XkTJFsrTkNxkRgShxpQxDynaPZUGxk=", "narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "32fb99ba93fea2798be0e997ea331dd78167f814", "rev": "0196c0175e9191c474c26ab5548db27ef5d34b05",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -166,11 +166,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1740162160, "lastModified": 1740339700,
"narHash": "sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM=", "narHash": "sha256-cbrw7EgQhcdFnu6iS3vane53bEagZQy/xyIkDWpCgVE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "11415c7ae8539d6292f2928317ee7a8410b28bb9", "rev": "04ef94c4c1582fd485bbfdb8c4a8ba250e359195",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

@@ -46,14 +46,6 @@ with lib;
bash = { bash = {
enable = true; enable = true;
bashrcExtra = '' 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 source $(blesh-share)/ble.sh
bleopt canvas_winch_action=redraw-prev bleopt canvas_winch_action=redraw-prev
''; '';
@@ -64,7 +56,7 @@ with lib;
delta.enable = true; delta.enable = true;
extraConfig = { extraConfig = {
credential = { 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"; credentialStore = "secretservice";
}; };
"credential \"https://dev.azure.com\"" = { "credential \"https://dev.azure.com\"" = {
@@ -73,6 +65,35 @@ with lib;
"credential \"https://git.worble.xyz\"" = { "credential \"https://git.worble.xyz\"" = {
provider = "generic"; 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 = { programs = {

View File

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