more docs on atuin

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-10-12 23:16:56 -05:00
parent 0f39d0f6d8
commit 2235ce020b
9 changed files with 43 additions and 21 deletions

View file

@ -8,27 +8,30 @@ htop_pid () {
} }
psg_kill() { psg_kill() {
PIDS=$(ps aux | grep -v "grep" | grep ${1} | awk '{print $2}') ps aux | grep -v "grep" | grep "${1}" | awk '{print $2}' | while read -r pid; do
for pid in ${PIDS}; do if [ -n "${pid}" ]; then
echo "killing ${pid}" echo "killing ${pid}"
kill -9 ${pid} &> /dev/null kill -9 "${pid}" &> /dev/null
fi
done done
} }
psg_terminate() { psg_terminate() {
PIDS=$(ps aux | grep -v "grep" | grep ${1} | awk '{print $2}') ps aux | grep -v "grep" | grep "${1}" | awk '{print $2}' | while read -r pid; do
for pid in ${PIDS}; do if [ -n "${pid}" ]; then
echo " ${pid}" echo "Terminating ${pid}"
kill -15 ${pid} &> /dev/null kill -15 "${pid}" &> /dev/null
fi
done done
} }
psg_skill() { psg_skill() {
PIDS=$(ps aux | grep -v "grep" | grep ${1} | awk '{print $2}') ps aux | grep -v "grep" | grep "${1}" | awk '{print $2}' | while read -r pid; do
for pid in ${PIDS}; do if [ -n "${pid}" ]; then
echo "killing ${pid}" echo "Killing ${pid}"
sudo kill -9 ${pid} &> /dev/null sudo kill -9 "${pid}" &> /dev/null
done; fi
done
} }
mail_clear() { mail_clear() {

View file

@ -51,6 +51,10 @@
- `nixos-rebuild switch --flake ~/.config/nixos-config` - `nixos-rebuild switch --flake ~/.config/nixos-config`
- Update remote, ssh should work now: `cd ~/.config/nixos-config && git remote remove origin && git remote add origin "git@github.com:RingOfStorms/dotfiles.git" && git pull origin master` - Update remote, ssh should work now: `cd ~/.config/nixos-config && git remote remove origin && git remote add origin "git@github.com:RingOfStorms/dotfiles.git" && git pull origin master`
- atuin setup
- if atuin is on enable that mod in configuration.nix, make sure to `atuin login` get key from existing device
- TODO move key into secrets and mount it to atuin local share
## Darwin ## Darwin
- TODO - TODO

View file

@ -8,6 +8,8 @@
workspaces = true; workspaces = true;
exit-mode = "return-query"; exit-mode = "return-query";
enter_accept = true; enter_accept = true;
sync_address = "http://10.12.14.2:8888";
sync = { records = true; };
}; };
}; };
} }

View file

@ -1,8 +0,0 @@
{ pkgs, ... }:
{
# home.packages = [ pkgs.spotifyd ];
# TODO revisit this isn't working for me yet...
services.spotifyd.enable =true;
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
programs.obs-studio = {
enable = true;
};
}

View file

@ -0,0 +1,4 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.signal-desktop ];
}

View file

@ -0,0 +1,5 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.spotify ];
}

View file

@ -0,0 +1,4 @@
{ ... }:
{
programs.steam.enable = true;
}