mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add NS script (nix shell)
This commit is contained in:
parent
fe631ebd79
commit
859fef586a
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ in
|
|||
|
||||
(writeShellScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/")
|
||||
|
||||
(writeShellScriptBin "ns" ''
|
||||
exec nix shell "github:NixOS/nixpkgs/${config.system.nixos.revision}#$@"
|
||||
'')
|
||||
|
||||
(writeShellScriptBin "pip_install" ''
|
||||
exec nix shell 'nixpkgs/nixos-unstable#python3.pkgs.pip' --command pip install --user -UI pip setuptools
|
||||
'')
|
||||
|
|
Loading…
Reference in a new issue