Files
dotfiles/README.md

46 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2017-08-26 10:56:11 +02:00
# dotfiles
2024-11-10 16:07:58 +01:00
My configuration files for my systems. Uses Ansible for local configuration.
2017-08-26 10:56:11 +02:00
2024-11-10 16:07:58 +01:00
## Supported OS
Only Arch Linux is supported
## Bootstrapping
Bootstrapping is specific to the exact machine that is installed. See
`_machines/` for machine-specific configuration, and `install_scripts/` for the
machine install scripts.
They are keyed by hostname.
For easier installation, the install scripts are available via shortlinks. To
(re)install a new machine from a Arch live environment:
```
2025-10-19 23:06:46 +02:00
curl --proto '=https' -O -sSfL https://s.hkoerber.de/i/bootstrap.sh && bash bootstrap.sh {host}
2024-11-10 16:07:58 +01:00
```
## Manual Installation
2017-08-26 10:56:11 +02:00
2020-02-23 15:19:08 +01:00
Because it manages multiple users on the system, the directory is supposed to be
at `/var/lib/dotfiles`.
2024-11-10 16:07:58 +01:00
To set up the dotfiles:
2017-08-26 10:56:11 +02:00
2020-02-23 15:25:22 +01:00
1. `git clone https://github.com/hakoerber/dotfiles.git ~/dotfiles`
2. `cd ~/dotfiles && ./install.sh`
2024-11-10 16:07:58 +01:00
## Partial application
To apply only a subset of the changes, use ansible tags that are available via
the Makefile:
2024-11-10 16:07:58 +01:00
| Command | Description |
| --------------- | -------------------------------------------------- |
| `make packages` | Installs all defined packages (see `packages.yml`) |
2024-11-10 16:07:58 +01:00
| `make dotfiles` | Manages the users' dotfiles |
Note that these are not supported on a first bootstrap run. Only use them after
the bootstrap to update existing configuration.