Switch to chezmoi

Update the README and remove dotdrop submodule.
This commit is contained in:
2025-09-15 10:16:50 +03:00
parent b67c32686f
commit c125d1ece8
3 changed files with 10 additions and 166 deletions

View File

@@ -1,26 +1,25 @@
# Alan's dotfiles
Alan's dotfiles are managed with [dotdrop](https://github.com/deadc0de6/dotdrop). To set up on a new Arch Linux machine install [dotdrop from AUR](https://aur.archlinux.org/packages/dotdrop) and do this:
Alan's dotfiles are managed with [chezmoi](https://www.chezmoi.io/).
## Setup on Arch Linux
Install [dotdrop from AUR](https://aur.archlinux.org/packages/dotdrop) and then install the dotfiles:
Install [`chezmoi` from the official package repository](https://archlinux.org/packages/?q=chezmoi):
```console
$ git clone --recursive https://git.mjanja.ch/alanorth/dotfiles.git
$ dotdrop install
$ sudo pacman -S chezmoi
```
## Setup on Other Linux
Bootstrap the repository's copy of dotdrop, prepare Python deps, and then install the dotfiles:
## Initialize dotfiles
```console
$ git clone --recursive https://git.mjanja.ch/alanorth/dotfiles.git
$ ./dotdrop/bootstrap.sh
$ pip3 install -r dotdrop/requirements.txt --user
$ ./dotdrop.sh install
$ chezmoi init
$ chezmoi cd
$ git remote add origin https://git.mjanja.ch/alanorth/dotfiles.git
$ git pull
$ chezmoi apply
```
## License
Copyright (C) 20152022 Alan Orth
Copyright (C) 20152025 Alan Orth
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by