(͡ ͡° ͜ つ ͡͡°) っ✂╰⋃╯
cachix | ||
hardware | ||
hosts | ||
profiles | ||
users | ||
.editorconfig | ||
.gitignore | ||
base.nix | ||
cachix.nix | ||
flake.lock | ||
flake.nix | ||
hardware-configuration.nix | ||
README.md |
Initial setup (old)
nixos-generate-config
Reading list
- https://nixos.wiki/wiki/Flakes
- https://teu5us.github.io/nix-lib.html
- https://ryantm.github.io/nixpkgs/builders/trivial-builders/
TODOs:
- Split stuff into multiple files
- Make a flake
- merge hosted docs into a single subdomain
- pre-commit hook with 'nix eval'
- Setup some remote-development flow
- users/pbsds: Support multiple profiles, like headless, nixpkgs-dev, various desktops, hpc, pvv, etc
- nixos-generate-config instructions
- zfs
- secrets
- profiles/web: make ACME/nginx helper a function
- Support multiple tlds
- Support multiple acme accounts
- Support a per-account provider?
- Support DNS auth
- Setup aliases instead of a per-subdomain cert
Cheatsheet
How to evaluate nixos flake/configuration.nix, checking if the drv hash is equal
nix eval .#nixosConfigurations.noximilien.config.system.build.toplevel.outPath
# or
nix-instantiate '<nixpkgs/nixos>' -A system -I nixos-config=./configuration.nix