Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/encukou/machine-setup
How to set up my computer
https://github.com/encukou/machine-setup
Last synced: 27 days ago
JSON representation
How to set up my computer
- Host: GitHub
- URL: https://github.com/encukou/machine-setup
- Owner: encukou
- Created: 2018-02-21T14:12:20.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-28T10:07:01.000Z (8 months ago)
- Last Synced: 2024-10-03T02:26:31.976Z (about 1 month ago)
- Language: Shell
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Machine setup
These are mostly personal notes, so I don't forget what to do when I need to
set up a new computer. If you're interested in something, feel free to ask.Steps:
- Install Fedora
- Install ansible:
$ sudo dnf install ansible
- Clone this repo:
$ mkdir dev && cd dev && git clone https://github.com/encukou/machine-setup
- Run ansible:
$ ansible-playbook -K ~/dev/machine-setup/playbook.yml
- Migrate KeepassX file
- get a GitHub token, put it in ~/dev/machine-setup/clone-all-github/token.txt- Clone all my Git repos
$ cd ~/dev/machine-setup/clone-all-github/
$ python3 -m venv __venv__
$ . __venv__/bin/activate
(venv)$ python -m pip install -r requirements.txt
(venv)$ python clone-all.py- Generate & set up keys (interactive):
$ ssh-keygen
$ gpg --gen-key
$ gpg --list-keys
$ mkdir $HOME/.config/git/
$ git config --file $HOME/.config/git/config user.signingkey- Register SSH keys:
- https://admin.fedoraproject.org/accounts
- https://github.com/- Apply Gnome settings (adjust to current taste):
$ ./gnome-settings.sh
- Migrate Firefox settings (TBD)
- Set up Thunderbird (TBD)
- Set up editor (TBD)
- Set up `devpi`:
python3 -m venv ~/dev/devpi/__venv__
cd ~/dev/devpi/server/ && ~/dev/devpi/__venv__/bin/python -m pip install -e.
~/dev/devpi/__venv__/bin/devpi-init
mkdir -p ~/.config/pip/
echo [global] >> ~/.config/pip/pip.conf
echo 'index-url = http://127.0.0.1:3141/root/pypi/+simple' >> ~/.config/pip/pip.conf- Run Fedora packager setup:
$ fedora-packager-setup