dotfiles/README.md

32 lines
612 B
Markdown
Raw Normal View History

2022-09-19 05:47:57 +00:00
# dotfiles
2023-04-02 23:55:26 +00:00
My nix configuration. The name of this repo is a bit of a misnormer since I'm no
longer managing dotfiles with a tool like stow.
2022-09-19 05:47:57 +00:00
## Usage
2023-04-02 23:55:26 +00:00
To apply a system configuration, run `nixos-rebuild switch`. See `nixos-rebuild
--help` for more information.
2022-09-19 05:47:57 +00:00
## Development
2023-04-02 23:55:26 +00:00
Set up `direnv`
2022-09-19 05:47:57 +00:00
```bash
2023-04-02 23:55:26 +00:00
echo 'use flake' > .envrc && direnv allow
2022-09-19 05:47:57 +00:00
```
2023-04-02 23:55:26 +00:00
And setup pre-commit hooks
2022-09-19 05:47:57 +00:00
```bash
pre-commit install
```
2023-04-03 00:03:54 +00:00
## Inspiration
Heavily inspired by Jake Hamilton's configuration:
https://github.com/jakehamilton/config
Check out the companion flake tour video as well:
https://www.youtube.com/watch?v=ARjAsEJ9WVY