https://github.com/lnus/dotfiles
moving my dotfiles to chezmoi
https://github.com/lnus/dotfiles
Last synced: about 1 year ago
JSON representation
moving my dotfiles to chezmoi
- Host: GitHub
- URL: https://github.com/lnus/dotfiles
- Owner: lnus
- Created: 2025-02-25T19:36:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-08T15:33:22.000Z (over 1 year ago)
- Last Synced: 2025-04-08T16:34:18.763Z (over 1 year ago)
- Language: Lua
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
> Sometimes `mise upgrade` hangs. Don't know why.
## Installation
See [chezmoi documentation](https://www.chezmoi.io/).
From a fresh machine run:
```bash
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply lnus
```
If `chezmoi` is already installed, run:
```bash
chezmoi init --apply lnus
```
## Preview
```bash
docker run -it --rm ubuntu bash
apt update && apt install curl git sudo
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply lnus
fish # or zsh
```
Alternatively:
1. Clone the repo
```bash
git clone https://github.com/lnus/dotfiles.git
```
2. Build and run the container
```bash
docker-compose build ubuntu # or fedora/arch
docker-compose run --rm ubuntu # or fedora/arch
```
3. Inside the container
```bash
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply lnus
fish # or zsh
```