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:
@@ -28,6 +28,7 @@ _: {
|
||||
./lutris.nix
|
||||
./mangohud.nix
|
||||
./nextcloud.nix
|
||||
./nix-search-tv.nix
|
||||
./nixpkgs.nix
|
||||
./obs-studio.nix
|
||||
./ollama.nix
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
then true
|
||||
else false;
|
||||
package = pkgs.fish;
|
||||
generateCompletions = false;
|
||||
generateCompletions = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting
|
||||
# fastfetch
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{pkgs, ...}: {
|
||||
programs.nix-search-tv = {
|
||||
enable = true;
|
||||
package = pkgs.nix-search-tv;
|
||||
settings.indexes = ["nixpkgs"];
|
||||
};
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
_: {
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"electron-40.10.5"
|
||||
];
|
||||
# permittedInsecurePackages = [
|
||||
#
|
||||
# ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user