You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Florian Posdziech 31dd83e9fa Merge branch 'main' of codeberg.org:flowfx/ansible-localhost 3 weeks ago
files [X11] Fix backlight for Intel machine 7 months ago
tasks Merge branch 'main' of codeberg.org:flowfx/ansible-localhost 3 weeks ago
.gitignore Refactor everything to work on a fresh Debian install 2 years ago
.tool-versions [ansible] Pin Python version 4 months ago
README.org Install postgres, fonts and dependencies 6 months ago
local.yml Merge branch 'main' of codeberg.org:flowfx/ansible-localhost 3 weeks ago

README.org

Doom Emacs Configuration

Prerequisites

Base system

Install Ubuntu on new machine.

Install git, vim, and ansible.

sudo apt install git neovim ansible

Set up Git forges

Generate an SSH key.

ssh-keygen -o -a 100 -t ed25519 -C "flowfx@hostname"
  • Upload it to GitHub
  • Upload it to Codeberg
  • ssh to `git@codeberg.org` once to add server to known hosts

Bootstrap ansible playbook

Clone the repository.

mkdir ~/src/flowfx
git clone git@github.com:FlowFX/ansible-localhost.git ~/src/flowfx/ansible-localhost

Cautiously run the bootstrap task

cd ~/src/flowfx/ansible-localhost
ansible-playbook local.yml --tags bootstrap

Go from there

For a new machine, run the playbook tag by tag.

ansible-playbook local.yml --tags <tag>

Somewhere in there, we need to run some manual commands

  • Todo: configure onedrive & calendar
  • Run doom install
  • Run rcup (and disable the notifier in the playbook)
  • Run asdf install
  • Install Vim.plug https://github.com/junegunn/vim-plug#unix-linux
  • Install Inconsolata Nerd Font - Download from https://www.nerdfonts.com/ and unzip files to ~/.local/share/fonts.
  • Run `emacs` on the command-line once - installs emojis
  • Clone triebwerk repository (+ docker-stacks) GIT_SSH_COMMAND='ssh -i private_key_file -o IdentitiesOnly=yes' git clone user@host:repo.git Add sshCommand = ssh -i ~/.ssh/id_ioki_ed25519 to .git/config

Install hex for elixir

$ mix local.hex

More work foo

$ sudo apt install libcurl4-openssl-dev

required for `curb`

Install MS Teams

https://docs.microsoft.com/de-de/microsoftteams/get-clients#install-manually-from-the-command-line

Install fonts

install imagemagick!

install ctags !!

$ ansible-galaxy collection install ansible.posix $ ansible-galaxy collection install community.general. $ brew install ranger file chardet

For flowfx.de / Nikola apt install yui-compressor

$ apt install inotify-tools

$ texlive / install –cask mactex

GitHub CLI

github cli https://github.com/cli/cli/blob/trunk/docs/install_linux.md curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg –dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg echo "deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null

sudo apt update sudo apt install gh

Configure autocomplete! https://cli.github.com/manual/gh_completion