Scripts I use for everyday automation and setting up VMs.
mvsc.sh - move Scripts/ to their place in filesystem. Just one line.
Directory with one file scripts, which help with automation of simple tasks. For all of those I have aliases, which as simple name without .sh or .py. Scripts are written with intention to alias them as:
bash <name>.shand not as ./<name>.sh, since it allows for creation of temporary bash session, which after end of scipt will return user to normal. That is why I can use cd freely in the code.
ob.sh- open nvim in obsidian valut, and if obsidian is not running then runobsidian.rebuild.sh- nvim into/etc/nixos/then rebuild NixOS and push to nix-config repository.nixup.sh- pull from nix-config repository and copy it to/etc/nixosoben.sh- zip obsidian vault, encrypt withansible-vaultand push to github repository.obde.sh- remove current vault, pull vault from github, decrypt and unzip it. In future I want to also include copyinginit.luainrebuild.
Directory with scripts that automate manual installation of OSes. Currently only avaible is for NixOS.
nixos_default.sh- install nixos with default config for bios. Tested and working.
Old scripts that help with setup on new machine.
git_setup.sh- script to setup git on new machine. Here main has ssh keys enctypted withansible vault.ubuntu_wm_stup.sh- old script to setup basic i3wm with tools I use on ubuntu - DEPRECATED
This directory will contain scripts to automate setup of fresh OS instalations or VMs.