commit 4537968a059fb49e57ae209ce48df2b61dea5b4b Author: datalore Date: Sun Jan 5 21:23:26 2025 +0100 Initial commit diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..5d814ff --- /dev/null +++ b/init.lua @@ -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() diff --git a/kitty.conf b/kitty.conf new file mode 100644 index 0000000..ff1876e --- /dev/null +++ b/kitty.conf @@ -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 diff --git a/playbook.yml b/playbook.yml new file mode 100644 index 0000000..4a89066 --- /dev/null +++ b/playbook.yml @@ -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 diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..292cdfc --- /dev/null +++ b/zshrc @@ -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)"