Add nix-search-tv support, enable fish completions

Include nix-search-tv module and add it to home imports
Add `nsf` alias for interactive package search with nix-search-tv
Enable fish completions generation
Comment out the previously allowed insecure packages list
This commit is contained in:
2026-07-21 23:20:13 +02:00
parent 55d2de10cd
commit 32c6c1fada
5 changed files with 13 additions and 4 deletions
+1
View File
@@ -28,6 +28,7 @@ _: {
./lutris.nix
./mangohud.nix
./nextcloud.nix
./nix-search-tv.nix
./nixpkgs.nix
./obs-studio.nix
./ollama.nix
+1
View File
@@ -18,6 +18,7 @@
upg-bd = "nh os build -H ${host} -d always";
tui = "garandos-tui";
ncg = "nh clean all --optimise";
nsf = "nix-search-tv print | fzf --multi --preview 'nix-search-tv preview {}' --scheme history --bind='enter:accept' | cut -d' ' -f2 | awk '{printf \"nixpkgs#%s \", $0}' | xargs -ro nix shell";
# Development aliases
## Django
+1 -1
View File
@@ -10,7 +10,7 @@
then true
else false;
package = pkgs.fish;
generateCompletions = false;
generateCompletions = true;
interactiveShellInit = ''
set fish_greeting
# fastfetch
+7
View File
@@ -0,0 +1,7 @@
{pkgs, ...}: {
programs.nix-search-tv = {
enable = true;
package = pkgs.nix-search-tv;
settings.indexes = ["nixpkgs"];
};
}
+3 -3
View File
@@ -1,8 +1,8 @@
_: {
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-40.10.5"
];
# permittedInsecurePackages = [
#
# ];
};
}