https://github.com/b-galati/machine-config
A way to bootstrap and keep up-to-date the config of any ubuntu based machine with tools I use
https://github.com/b-galati/machine-config
ansible
Last synced: 4 months ago
JSON representation
A way to bootstrap and keep up-to-date the config of any ubuntu based machine with tools I use
- Host: GitHub
- URL: https://github.com/b-galati/machine-config
- Owner: B-Galati
- License: mit
- Created: 2018-03-30T18:00:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T17:41:32.000Z (over 1 year ago)
- Last Synced: 2025-04-06T12:50:09.997Z (about 1 year ago)
- Topics: ansible
- Language: Makefile
- Homepage:
- Size: 2.58 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Usage
```bash
# Only required package, the rest is automatic
sudo apt update -y && sudo apt install -y make
# Set up everything
make install
# Install a given role
make install ARGS="-t docker"
# Force install of discord
make install ARGS="-t discord -e force_install=true}"
# Update everything on the machine
make update
```
# Ideas of some things to do manually
- Configure TLP to optimize battery lifetime
- Initialize favorite apps:
```shell
gsettings set org.gnome.shell favorite-apps "['org.gnome.Nautilus.desktop', 'alacritty.desktop', 'jetbrains-phpstorm-55be83e5-2bc4-4556-bef0-9a571ec27ac3.desktop', 'firefox-dev.desktop', 'google-chrome.desktop', 'enpass.desktop', 'slack.desktop', 'discord_discord.desktop', 'whatsapp.desktop', 'spotify.desktop', 'org.gnome.SystemMonitor.desktop', 'btop.desktop', 'org.gnome.Characters.desktop', 'org.gnome.TextEditor.desktop']"
```
# References
- [Disable error report dialog](https://www.kevin-custer.com/blog/how-to-turn-off-the-error-report-dialog-in-ubuntu-20-04/)
- [Configuration files in the environment.d/](https://www.freedesktop.org/software/systemd/man/latest/environment.d.html)
- [Ansible Vault with different backends](https://www.monotux.tech/posts/2025/03/ansible-vault/)
- [Storing Ansible Vault Password in Bitwarden](https://theorangeone.net/posts/ansible-vault-bitwarden/)
# Credits
- [Omakub](https://github.com/basecamp/omakub)
- [Jared Hocutt labtop config](https://github.com/jaredhocutt/laptop)