Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-d committed Mar 9, 2022
1 parent d7ca172 commit f448d02
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,15 @@ oom-finder() {
# usage: oom-finder <namespace> <name-label>
kc -n "${1}" get pod -l name="${2}" -o json | jq '.items[] | select(.status.containerStatuses[].lastState.terminated.reason == "OOMKilled")' | jq '.metadata.name'
}

nix-clean () {
nix-env --delete-generations old
nix-store --gc
nix-channel --update
nix-env -u --always
for link in /nix/var/nix/gcroots/auto/*
do
rm $(readlink "$link")
done
nix-collect-garbage -d
}
5 changes: 2 additions & 3 deletions nix-config/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ in
clang
unstable.slack
steam
discord
xmonad-log
dmenu # search util
jq
Expand All @@ -188,7 +187,7 @@ in
zlib
openssl
cargo-edit
gopls
unstable.gopls
git-crypt
gnupg
google-cloud-sdk
Expand All @@ -200,7 +199,7 @@ in
transmission
stig # transmission tui
tree
discord
unstable.discord
jsonnet
unstable.gh
shfmt
Expand Down

0 comments on commit f448d02

Please sign in to comment.