actualiza lista de unfree y comando de use

This commit is contained in:
Fabián Montero 2022-11-25 19:24:40 -06:00
parent b207e032bb
commit e7346d8f51
2 changed files with 19 additions and 2 deletions

View file

@ -3,5 +3,16 @@ with lib;
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"vmware-horizon-client"
"steam-original"
"steam"
"discord"
"pycharm-professional"
"rar"
"spotify"
"spotify-unwrapped"
"teams"
"zoom"
"vscode-extension-ms-vscode-cpptools"
"quartus-prime-lite-unwrapped"
];
}

View file

@ -87,11 +87,17 @@
bindkey "\e[3~" delete-char
function use() {
nix shell "nixpkgs#$1"
local pkg
pkg="$1"
shift
nix shell "nixpkgs#$pkg" "$@"
}
function unuse() {
nix shell "unstable#$1"
local pkg
pkg="$1"
shift
nix shell "unstable#$pkg" "$@"
}
function spawn () {