Initial commit

This commit is contained in:
datalore 2025-01-05 21:23:26 +01:00
commit 4537968a05
4 changed files with 123 additions and 0 deletions

23
init.lua Normal file
View File

@ -0,0 +1,23 @@
-- deactivating netrw as it conflicts with nvim-tree
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
local lazyrepo = 'https://github.com/folke/lazy.nvim.git'
vim.fn.system{'git', 'clone', '--filter=blob:none', '--branch=stable', lazyrepo, lazypath}
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup {
"xiyaowong/transparent.nvim",
{"willothy/nvim-cokeline", dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons"
}, config = true},
{"nvim-tree/nvim-tree.lua", dependencies = {
"nvim-tree/nvim-web-devicons"
}}
}
require("nvim-tree").setup()

22
kitty.conf Normal file
View File

@ -0,0 +1,22 @@
shell zellij
font_family EnvyCodeR Nerd Font Mono
font_size 12.0
cursor_shape underline
cursor_blink_interval 0.75
cursor_stop_blinking_after 0
shell_integration no-cursor
enable_audio_bell false
background_opacity 0.5
background #161925
foreground #c3c7d1
color0 #1d1f21
color1 #ed254e
color2 #71f79f
color3 #f9dc5c
color4 #7cb7ff
color5 #c74ded
color6 #00c1e4
color7 #dcdfe4

59
playbook.yml Normal file
View File

@ -0,0 +1,59 @@
- name: Setup pentesting system
tasks:
- name: Package management
block:
- name: Update System
pacman: update_cache=true upgrade=true
- name: Install common tools
pacman:
pkg:
- neovim
- fakeroot
- yay
- kitty
- eza
- bat
- zoxide
- ttf-envycoder-nerd
- thefuck
- nmap
- john
- openvpn
- jre21-openjdk
- zaproxy
- name: Install OpenVPN config
copy:
src: lab.ovpn
dest: /etc/openvpn/client/lab.conf
ignore_errors: true
notify: Enable OpenVPN service
become: true
- name: Copy kitty config
copy:
src: kitty.conf
dest: ~/.config/kitty/kitty.conf
- name: Copy nvim config
copy:
src: init.lua
dest: ~/.config/nvim/init.lua
- name: Copy .zshrc
copy:
src: zshrc
dest: ~/.zshrc
force: yes
- name: Set shell to zsh
user:
name: datalore
shell: /bin/zsh
- name: Clone SecLists
git:
clone: true
depth: 1
repo: https://github.com/danielmiessler/SecLists
handlers:
- name: Enable OpenVPN service
service: name=openvpn-client@lab enabled=true
become: true

19
zshrc Normal file
View File

@ -0,0 +1,19 @@
USE_POWERLINE="true"
HAS_WIDECHARS="false"
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
source /usr/share/zsh/manjaro-zsh-config
fi
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
source /usr/share/zsh/manjaro-zsh-prompt
fi
alias ls="eza --icons"
alias ll="ls -lga --header"
alias tree="ls -T"
alias cat="bat -S"
alias vim="nvim"
alias mv="mv -i"
eval "$(thefuck --alias)"
eval "$(zoxide init --cmd cd zsh)"