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 () {