From e7346d8f519847c22c28e09511fb54ed7ccdb447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Montero?= Date: Fri, 25 Nov 2022 19:24:40 -0600 Subject: [PATCH] actualiza lista de unfree y comando de use --- home/allowUnfreeWhitelist.nix | 11 +++++++++++ home/zshrc.nix | 10 ++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/home/allowUnfreeWhitelist.nix b/home/allowUnfreeWhitelist.nix index 0d850ba..9457c76 100644 --- a/home/allowUnfreeWhitelist.nix +++ b/home/allowUnfreeWhitelist.nix @@ -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" ]; } diff --git a/home/zshrc.nix b/home/zshrc.nix index 7d68f70..926e671 100644 --- a/home/zshrc.nix +++ b/home/zshrc.nix @@ -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 () {