Alejandro Angulo
ea351a8a38
- Need to provide RELEASE_COOKIE environment variable when running the app (https://github.com/NixOS/nixpkgs/issues/166229) - Deploy script has an output directory hardcoded that doesn't play nice with nix. I made change and generated a patch file with `git diff` in my local copy of the repo. I also had to make sure to change the filepaths in the patchfile to remove the `assets/` prefix. The contents of the this directory must be moved to `priv/static/assets`. - Have to manually install the phoenix node dependencies (these aren't fetched from npm, but from the repo itself). |
||
---|---|---|
modules/nixos | ||
packages | ||
secrets | ||
systems | ||
.gitignore | ||
.nixd.json | ||
.pre-commit-config.yaml | ||
flake.lock | ||
flake.nix | ||
README.md |
dotfiles
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.
Usage
To apply a system configuration, run nixos-rebuild switch
. See nixos-rebuild --help
for more information.
Development
Set up direnv
echo 'use flake' > .envrc && direnv allow
And setup pre-commit hooks
pre-commit install
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