Adds SSH server and Axel
Adding fix for Apple keyboard F keys on MBP and MBA
This commit is contained in:
1 parent
ab396a5ef8
commit
391318a839
5 files changed
+41
-22
No files matched your search
@@ -1,16 +1,5 @@
|
||||
Host 192.168.0.141
|
||||
KexAlgorithms diffie-hellman-group-exchange-sha1
|
||||
Host git.pyrocode.xyz
|
||||
Port 2222
|
||||
IdentitiesOnly yes
|
||||
IdentityFile ~/.ssh/id_rsa
|
||||
# entry generated by okteto
|
||||
Host 172.24.4.115
|
||||
HostName 172.24.4.115
|
||||
User tmerritt
|
||||
Host 10.1.24.115
|
||||
HostName 10.1.24.115
|
||||
User tmerritt
|
||||
#Host 10.1.*.*
|
||||
# PermitLocalCommand yes
|
||||
# # Unfortunately ssh does not support line breaks in config files
|
||||
|
||||
Whitespace-only changes.
@@ -13,4 +13,5 @@ git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}" \
|
||||
--plugin-dir ${BASEDIR}/plugins/dotbot-git
|
||||
--plugin-dir ${BASEDIR}/plugins/dotbot-git \
|
||||
--plugin-dir ${BASEDIR}/plugins/dotbot-ifplatform
|
||||
+23
-10
@@ -17,7 +17,10 @@
|
||||
~/.gitconfig: configs/git/gitconfig
|
||||
# SSH
|
||||
~/.ssh/config:
|
||||
path: configs/ssh/config
|
||||
path: configs/ssh/config
|
||||
create: true
|
||||
~/.gitmessage:
|
||||
path: configs/ssh/gitmessage
|
||||
create: true
|
||||
# ZSH
|
||||
~/.zshrc: configs/zsh/zshrc
|
||||
@@ -25,7 +28,7 @@
|
||||
~/.aliases: configs/zsh/aliases
|
||||
# Postgres
|
||||
~/.psqlrc: configs/postgres/psqlrc
|
||||
# tmux
|
||||
# tmux
|
||||
~/.tmux.conf: configs/tmux/tmux.conf
|
||||
# Remmina
|
||||
~/.local/share/remmina:
|
||||
@@ -40,10 +43,18 @@
|
||||
~/.local/share/fonts/MesloLGS NF Bold .ttf: fonts/MesloLGS NF Bold.ttf
|
||||
~/.local/share/fonts/MesloLGS NF Regular.ttf: fonts/MesloLGS NF Regular.ttf
|
||||
- shell:
|
||||
- [ ~/.dotfiles/scripts/fixMacPortableKeyboard.sh, Fixing MacBook Air and MacBook Pro Keyboards]
|
||||
- [
|
||||
|
||||
sudo /home/tmerritt/.dotfiles/scripts/installPackages.sh,
|
||||
Install Remmina, apps Trevor uses, Installing ZSH and its plugins,
|
||||
sudo apt install remmina remmina-plugin-vnc remmina-plugin-rdp -y,
|
||||
Install Remmina,
|
||||
]
|
||||
- [
|
||||
sudo apt install nmap tmux nmon htop axel ssh -y,
|
||||
Installing apps Trevor uses...
|
||||
]
|
||||
- [
|
||||
sudo apt install zsh zsh-syntax-highlighting -y,
|
||||
Installing ZSH and its plugins,
|
||||
]
|
||||
- [git submodule update --init --recursive, Installing submodules]
|
||||
- [fc-cache -fv, Updating Font Cache]
|
||||
@@ -53,8 +64,10 @@
|
||||
]
|
||||
- [~/.dotfiles/scripts/setupKubectl.sh, Setting up Kubectl]
|
||||
- [~/.dotfiles/scripts/setupHelm.sh, Setting up Helm]
|
||||
- git:
|
||||
"/home/tmerritt/Projects/lilly":
|
||||
url: "https://git.geekback.dev/tmerritt/lilly"
|
||||
"/home/tmerritt/Projects/gblib":
|
||||
url: "https://git.geekback.dev/tmerritt/gblib"
|
||||
#- git:
|
||||
# "/home/tmerritt/Projects/dfr":
|
||||
# url: "https://git.pyrocode.xyz/tmerritt/dfr.git"
|
||||
# "/home/tmerritt/Projects/lilith":
|
||||
# url: "https://git.pyrocode.xyz/tmerritt/lilith.git"
|
||||
# "/home/tmerritt/Projects/GBLib":
|
||||
# url: "http://git.pyrocode.xyz/tmerritt/GBLib.git"
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f "/sys/module/hid_apple/parameters/fn_mode" ]; then
|
||||
echo "Found a Mac! Lets see about the keyboard..."
|
||||
if [ ! -f "/etc/modprobe.d/hid_apple.conf"]; then
|
||||
echo "Applying runtime fix"
|
||||
sudo su -c "echo -n 0x02 > /sys/module/hid_apple/parameters/fnmode"
|
||||
echo "Applying Boot fix..."
|
||||
echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
|
||||
update-initramfs -u -k all
|
||||
else
|
||||
echo "Keyboard already fixed."
|
||||
fi
|
||||
else
|
||||
echo "Not a mac."
|
||||
fi
|
||||
Reference in new issue
Block a user