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
|
|
|
|
```
|