Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zombiezen/dotfiles
Ross's "dot" files: cross-machine configuration
https://github.com/zombiezen/dotfiles
chezmoi dotfiles
Last synced: 3 months ago
JSON representation
Ross's "dot" files: cross-machine configuration
- Host: GitHub
- URL: https://github.com/zombiezen/dotfiles
- Owner: zombiezen
- License: unlicense
- Created: 2020-12-12T21:15:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T17:54:21.000Z (9 months ago)
- Last Synced: 2024-05-01T19:44:48.460Z (9 months ago)
- Topics: chezmoi, dotfiles
- Language: Vim Script
- Homepage:
- Size: 237 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Roxy's dot files
These are my settings files.
They are public for convenience of bootstrapping
and occasionally demonstrating weird hacks I'm doing to make my life work.
You're free to [copy anything](UNLICENSE) if you find it useful.## How does this work?
My settings files are managed by [chezmoi][],
but most of the software is managed by [Nix][] (see [`flake.nix`](nix/flake.nix)).[chezmoi]: https://www.chezmoi.io/
[Nix]: https://nixos.org/### Why not use [home-manager][]?
While I very much like Nix,
my primary dev machines run Windows (upon which I run WSL),
so I need a cross-platform solution to manage my files.[home-manager]: https://github.com/nix-community/home-manager
## New Machine Instructions
First, I download the decryption key if I need it:
```shell
eval $(op signin) &&
op document get 5gempl6hrjpndby7gbtjax3qom --output ~/dotfiles-agekey.txt
```Then I run:
```shell
sh -c "$(curl -fsSL git.io/chezmoi)" -- init --apply zombiezen
```## Using the flake
My scripts are [bundled with Nix][],
so you can run them
and they're guaranteed to work in the same way as they do on my machines.
To see a list of packages I'm using:```shell
nix flake show 'github:zombiezen/dotfiles?dir=nix'
```To run one:
```shell
nix run 'github:zombiezen/dotfiles?dir=nix#nix-op-key'
```[bundled with Nix]: https://www.zombiezen.com/blog/2023/12/bundling-scripts-nix/