Skip to content

Commit

Permalink
more vagrant files
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Sep 6, 2023
1 parent 349040f commit 778b733
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .bash/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ alias pip-upgrade='pip3 list --outdated --format=freeze | grep -v "^\-e" | cut -

# KALI
# start konsole emulator attached to remote tmux session
alias kali-tmux='vagrant ssh -- -t tmux new-session -A -c /vagrant'
alias kali-tmux='vagrant ssh -- -t tmux new-session -A -c /vagrant -s vm'
alias cutter='LIBGL_ALWAYS_INDIRECT=1 /vagrant/tools/Cutter-v2.2.0-Linux-x86_64.AppImage'
alias ffuf='ffuf -c -ic'
alias py='ipython3'
Expand Down
2 changes: 1 addition & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ HISTCONTROL=ignoreboth:erasedups
# append to the history file, don't overwrite it
shopt -s histappend

# set history length)
# set history length
HISTSIZE=20000
HISTFILESIZE=40000

Expand Down
2 changes: 1 addition & 1 deletion .tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ set -g @plugin 'Morantron/tmux-fingers'
set -g @plugin '3ximus/tmux-plugin-uptime'
set -g @plugin '3ximus/tmux-plugin-datetime'
set -g @plugin 'tmux-plugins/tmux-battery'
set -g @plugin 'samoshkin/tmux-plugin-sysstat'
set -g @plugin '3ximus/tmux-plugin-sysstat'

set -g @plugin 'IngoMeyer441/tmux-easy-motion'

Expand Down
12 changes: 3 additions & 9 deletions .vim/coc-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,13 @@
"languageserver": {
"godot": {
"host": "127.0.0.1",
"filetypes": [
"gdscript"
],
"filetypes": ["gdscript"],
"port": 6008
},
"intelephense": {
"command": "intelephense",
"args": [
"--stdio"
],
"filetypes": [
"php"
],
"args": ["--stdio"],
"filetypes": ["php"],
"initializationOptions": {
"storagePath": "/tmp/intelephense"
}
Expand Down
17 changes: 17 additions & 0 deletions misc/debian-vagrant/Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.box = "debian/buster64"
config.vm.define "debian-test"

config.vm.provider 'libvirt' do |libvirt|
libvirt.memorybacking :access, :mode => "shared"
end

config.ssh.insert_key = false

config.vm.synced_folder './', '/vagrant', type: '9p', disabled: false, accessmode: "squash"
# config.vm.synced_folder '.', '/vagrant', disabled: true
config.ssh.forward_agent = true
end
3 changes: 2 additions & 1 deletion misc/kali-vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
$provision_script = <<-SCRIPT
echo Installing extra software...
sudo apt install -y vim-gtk3 docker.io npm fzf xclip patchelf hexedit cargo ghidra gdbserver ripgrep strace gdb imagemagick feh peass steghide ranger
pip install pwntools z3
git clone [email protected]:3ximus/dotfiles ~/dotfiles --recurse-submodules -j8
echo Install dotfiles manually by ssh into the machine and running `./install-my-config --force`
SCRIPT
Expand All @@ -13,7 +14,7 @@ Vagrant.configure("2") do |config|
config.vm.box_check_update = false

config.vm.provider 'libvirt' do |libvirt|
libvirt.cpus = 8
libvirt.cpus = 4
libvirt.memory = 8192
libvirt.memorybacking :access, :mode => "shared"
end
Expand Down

0 comments on commit 778b733

Please sign in to comment.