Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanlau/dotfiles
slowly but surely...
https://github.com/ryanlau/dotfiles
chezmoi dotfiles home-manager homebrew nix
Last synced: about 21 hours ago
JSON representation
slowly but surely...
- Host: GitHub
- URL: https://github.com/ryanlau/dotfiles
- Owner: ryanlau
- Created: 2024-09-04T17:07:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T16:26:17.000Z (2 months ago)
- Last Synced: 2024-11-11T17:29:19.808Z (2 months ago)
- Topics: chezmoi, dotfiles, home-manager, homebrew, nix
- Language: Shell
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
uses [chezmoi](https://www.chezmoi.io/) to manage dotfiles and [homebrew](https://brew.sh/)/nix's [home-manager](https://github.com/nix-community/home-manager) to manage packages
## setup
### macos
prereqs:
- homebrew
- chezmoiinitalize chezmoi to install and manage dotfiles
```
chezmoi init --apply ryanlau
```### non-macos
install [nix](https://nixos.org/) using the [determinate nix installer](https://determinate.systems/nix-installer/)
```sh
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm
```temporarily use chezmoi to fetch these dotfiles, dotfiles are permanently installed
```sh
nix run nixpkgs#chezmoi -- init ryanlau --apply --exclude=scripts
```install home-manager and use it to permanently install packages/programs including chezmoi
```sh
nix run home-manager/master -- switch
```run the chezmoi scripts that were ignored earlier
```sh
chezmoi apply
```## todo
- [ ] add configs for other programs
- [ ] use [nix-darwin](https://github.com/LnL7/nix-darwin) to manage configuration for macos
- [ ] use home-manager instead of chezmoi to manage configuration files
- [ ] write docs explaining purpose of every file