add nix-search-tv overlay

This commit is contained in:
do butterflies cry? 2026-03-22 14:00:44 +10:00
parent 907f048cd3
commit c23c949bf3
Signed by: cry
GPG key ID: F68745A836CA0412
2 changed files with 16 additions and 6 deletions

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
pkgs,
upkgs,
...
}: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Shell # Shell
bash bash
@ -49,7 +45,7 @@
nix-prefetch-git nix-prefetch-git
nix-index nix-index
nix-unit nix-unit
upkgs.nix-search-tv ns # nix-search-tv overlay
# Python # Python
python312 # I use 3.12 since it's in a pretty stable state now python312 # I use 3.12 since it's in a pretty stable state now

View file

@ -10,6 +10,20 @@
lib lib
; ;
in { in {
ns = pkgs.writeShellApplication {
name = "ns";
runtimeInputs = with pkgs; [
fzf
nix-search-tv
];
text = builtins.readFile "${pkgs.nix-search-tv.src}/nixpkgs.sh";
excludeShellChecks = [
# SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
"SC2016"
];
};
angry-oxide = import ../packages/angryoxide { angry-oxide = import ../packages/angryoxide {
inherit pkgs lib; inherit pkgs lib;
}; };