packages.nushell: add git alias

This commit is contained in:
2024-08-30 19:09:07 +08:00
parent 295c8c957c
commit fc25522bd0
3 changed files with 20 additions and 4 deletions

17
flake.lock generated
View File

@@ -1065,6 +1065,22 @@
"type": "github"
}
},
"nu-scripts": {
"flake": false,
"locked": {
"lastModified": 1725014865,
"narHash": "sha256-EmlwDTEby2PAOQBUAhjiBJ8ymVW3H23V78dFaF8DQKw=",
"owner": "nushell",
"repo": "nu_scripts",
"rev": "614b0733104a7753ed7d775224fe5918877b71de",
"type": "github"
},
"original": {
"owner": "nushell",
"repo": "nu_scripts",
"type": "github"
}
},
"nur-linyinfeng": {
"inputs": {
"devshell": "devshell",
@@ -1293,6 +1309,7 @@
"nixpkgs-23.05": "nixpkgs-23.05",
"nixpkgs-23.11": "nixpkgs-23.11",
"nodesoup": "nodesoup",
"nu-scripts": "nu-scripts",
"nur-linyinfeng": "nur-linyinfeng",
"nur-xddxdd": "nur-xddxdd",
"openxlsx": "openxlsx",

View File

@@ -67,6 +67,7 @@
git-lfs-transfer = { url = "github:charmbracelet/git-lfs-transfer"; flake = false; };
nc4nix = { url = "github:helsinki-systems/nc4nix"; flake = false; };
hextra = { url = "github:imfing/hextra"; flake = false; };
nu-scripts = { url = "github:nushell/nu_scripts"; flake = false; };
# does not support lfs yet
# nixos-wallpaper = { url = "git+https://git.chn.moe/chn/nixos-wallpaper.git"; flake = false; };

View File

@@ -17,10 +17,8 @@ inputs:
nushell =
{
enable = true;
# configFile.source = ./.../config.nu;
# extraConfig = "";
# shellAliases.vi = "hx";
};
extraConfig = "source ${inputs.topInputs.nu-scripts}/aliases/git/git-aliases.nu";
};
carapace.enable = true;
oh-my-posh =
{