Add nushell
parent
9e28f2b3e9
commit
038bfbf25a
19
flake.lock
19
flake.lock
|
@ -575,7 +575,8 @@
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
"nixpkgs-stable": "nixpkgs-stable",
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
"pre-commit": "pre-commit"
|
"pre-commit": "pre-commit",
|
||||||
|
"starship-src": "starship-src"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
|
@ -599,6 +600,22 @@
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"starship-src": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681432161,
|
||||||
|
"narHash": "sha256-Jj5kiT+9R4w2lhmtkwEqsF34MOw63MM/SRCRA5FQ1PY=",
|
||||||
|
"owner": "starship",
|
||||||
|
"repo": "starship",
|
||||||
|
"rev": "ce7f984932a97b4ad3cd6e6ece8e1c3b6022ba99",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "starship",
|
||||||
|
"repo": "starship",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
kitty-themes.flake = false;
|
kitty-themes.flake = false;
|
||||||
fisher-src.url = "github:jorgebucaran/fisher";
|
fisher-src.url = "github:jorgebucaran/fisher";
|
||||||
fisher-src.flake = false;
|
fisher-src.flake = false;
|
||||||
|
starship-src.url = "github:starship/starship";
|
||||||
|
starship-src.flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
|
|
@ -18,7 +18,9 @@
|
||||||
};
|
};
|
||||||
nix-index = {
|
nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
};
|
||||||
|
nushell = {
|
||||||
|
enable = true;
|
||||||
};
|
};
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -27,14 +29,12 @@
|
||||||
AddKeysToAgent = "yes";
|
AddKeysToAgent = "yes";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# vscode
|
|
||||||
vscode = {
|
vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# extensions = [ pijul-vscode ];
|
# extensions = [ pijul-vscode ];
|
||||||
};
|
};
|
||||||
zoxide = {
|
zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# }}}
|
# }}}
|
||||||
|
|
|
@ -1,13 +1,22 @@
|
||||||
{ inputs }:
|
{ inputs }:
|
||||||
_: prev: {
|
_: prev: {
|
||||||
inherit (inputs) kitty-icon kitty-themes;
|
inherit (inputs) kitty-icon kitty-themes;
|
||||||
helix = inputs.helix.packages.${prev.stdenv.system}.default;
|
|
||||||
fishPlugins = prev.fishPlugins // {
|
fishPlugins = prev.fishPlugins // {
|
||||||
fisher = {
|
fisher = {
|
||||||
name = "fisher";
|
name = "fisher";
|
||||||
src = inputs.fisher-src;
|
src = inputs.fisher-src;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
helix = inputs.helix.packages.${prev.stdenv.system}.default;
|
||||||
|
starship = prev.starship.overrideDerivation (drv: {
|
||||||
|
patches = (drv.patches or [ ]) ++ [
|
||||||
|
(builtins.fetchurl {
|
||||||
|
name = "nushell.patch";
|
||||||
|
url = "https://github.com/starship/starship/commit/041a51835371d3738cc7b597b4a506a5dc4341c9.diff";
|
||||||
|
sha256 = "sha256:0az1jjb24mngzybgv7kavdj1bhfdm0cqnci3gz6zkgpaxqvw7vnz";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
} // builtins.mapAttrs
|
} // builtins.mapAttrs
|
||||||
(name: extras:
|
(name: extras:
|
||||||
prev.callPackage
|
prev.callPackage
|
||||||
|
|
Loading…
Reference in New Issue