This repo serves as a place to store shell scripts and Containerfile
s that
help me setup my workflow, which I need the most when running distros
like OpenSUSE MicroOS or
Fedora Kinoite, but it could
be applied to any distro.
After a fresh install make sure to be up to date, but first clone this repo because we are going to make use of it along this README.
git clone --depth=1 git@github.com:santigo-zero/cyan-yerba.git
# If the ssh key is not available
git clone --depth=1 https://github.com/santigo-zero/cyan-yerba.git
rpm-ostree upgrade -r # Flag -r will reboot your machine when rpm-ostree finishes.
sudo transactional-update
systemctl reboot
After rebooting you should run this scripts to reboot once again.
./kinoite.sh
# Or
./microos.sh
To get all of my dotfiles I normally curl the script because I have them in a repo, it's going to work even if git is not installed.
curl https://raw.githubusercontent.com/santigo-zero/dotfiles/master/clone-dotfiles | bash
Or if you already cloned the repository you can rsync
the dotfiles directory
to your current $HOME
running:
rsync --verbose \
--recursive \
--ignore-times \
--exclude "README.md" \
--exclude "copy-dotfiles" \
--exclude "clone-dotfiles" \
--exclude ".git" \
dotfiles/ "$HOME"
In MicroOS distrobox comes installed by default, but in the case of Kinoite you need to install it read about it here, I prefer to use curl
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --next --prefix ~/.local
To configure the container that I use the most you can cd to ./main-distrobox
and run
./image.sh && ./container.sh && distrobox enter main
While this ^^^ command finishes you can read how to configure the colorscheme and flatpaks
I don't ship any colorschemes with my dotfiles, they are separate because JetJBP is my own colorscheme and it's easier to have things separate at the moment of updating.
git clone --depth=1 https://github.com/santigo-zero/JetJBP
Configure everything with the script from this repo that will add flathub and kde repos so that we can install all of the packages that I use
./flatpak.sh
Most of the tools that I use on a daily basis can be installed with tools.sh
this tools range from formatters and package managers to LSP
s.
tools.sh # This is going to be in your PATH so type it as is.
To get my personal "framework" just run
gcs git@github.com:santigo-zero/fractal-nvim.git "$XDG_CONFIG_HOME/nvim"
But before running neovim you'll probably have to build from source.
Neither Kinoite or MicroOS will let you install stuff like you used to install in conventional mutable distros, so you should compile like so:
make CMAKE_INSTALL_PREFIX=~/.local/ install
This comes with the advantage of neovim not polluting your global environment
(your host) since it's installed locally to your user. This also avoids having
neovim repeated in every container since distrobox/toolbox can access the build
because the $HOME
of the containers are binded to your hosts $HOME
.
gcs git@github.com:santigo-zero/fractal-nvim.git "$XDG_CONFIG_HOME/nvim"
sudo tee -a /etc/sudoers <<EOT Defaults !tty_tickets EOT
echo "Choose new hostname name, the default value being 'fedora' but you can cancel with control+c" read -r HOSTNAME_NEW hostnamectl set-hostname "$HOSTNAME_NEW"