actualiza lista de unfree y comando de use
This commit is contained in:
parent
b207e032bb
commit
e7346d8f51
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue