mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
cli: simplify and rename "nr" to "nixpkgs"
This commit is contained in:
parent
6c8bfaf6e9
commit
aa7c7749ed
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,6 @@
|
||||||
|
|
||||||
(writeShellScriptBin "dirt" "while sleep 1; do grep '^Dirty:' /proc/meminfo ; done")
|
(writeShellScriptBin "dirt" "while sleep 1; do grep '^Dirty:' /proc/meminfo ; done")
|
||||||
|
|
||||||
(writeShellScriptBin "nr" "exec nix repl \"$(nix eval nixpkgs#path)\"")
|
|
||||||
|
|
||||||
(lib.hiPrio (writeShellScriptBin "iftop" ''
|
(lib.hiPrio (writeShellScriptBin "iftop" ''
|
||||||
exec ${iftop}/bin/iftop -P -m100M "$@"
|
exec ${iftop}/bin/iftop -P -m100M "$@"
|
||||||
''))
|
''))
|
||||||
|
@ -163,5 +161,6 @@
|
||||||
alias day='date "+%Y-%m-%d"'
|
alias day='date "+%Y-%m-%d"'
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias tmp='cd "$(mktemp -d)"'
|
alias tmp='cd "$(mktemp -d)"'
|
||||||
|
alias nixpkgs='nix repl --file flake:nixpkgs'
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue