Find a file
2023-04-02 16:40:36 -07:00
.github/workflows Added pre-commit config 2022-09-18 22:28:50 -07:00
modules Added pre-commit package to development suite 2023-04-02 16:36:24 -07:00
systems Updated carbon to make use of workstation config 2023-04-02 16:22:51 -07:00
.gitignore wip 2023-03-12 11:14:43 -07:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate 2022-12-12 16:34:09 +00:00
flake.lock Updated lockfile 2023-04-02 16:25:32 -07:00
flake.nix Updated default dev shell packages 2023-04-02 16:40:36 -07:00
README.md Added README 2022-09-18 22:47:57 -07:00
update.sh Added nix config 2022-09-18 12:42:30 -07:00

dotfiles

In the prcess of moving system setup/configration to nix. Still getting the hang of nix so there may be some things I'm ding that aren't "the nix way."

Usage

Clone this repo to ~/dotfiles (scripts depend on the repo living in this location but should be updated to not rely on a specific path).

Run apply-system.sh to apply the NixOS configuration and apply-users.sh to apply the home-manager configuration.

NOTE apply-system.sh depends on the machine's host name matching one of the configuration names in flake.nix.

Run update.sh to (you guessed it) update packages.

Development

Set up direnv (should be available after applying the user configuration):

echo 'use flake' > .envrc

And setup pre-commit hooks (manual step for now but can probably be automated with some dev shell wizardry):

pre-commit install