Peder Bergebakken Sundt
74f808b952
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/1ec1695294543a5bc9dd4a2883958df4280fbe96' (2023-02-28) → 'github:nix-community/NUR/d868fb8917694d695dcd9d88cf4b40c8eefd1677' (2023-02-28) |
||
---|---|---|
cachix | ||
hardware | ||
hosts | ||
profiles | ||
users | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
README.md | ||
base.nix | ||
cachix.nix | ||
flake.lock | ||
flake.nix | ||
shell.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/
- https://nixos.wiki/wiki/Nix-writers
TODOs:
- Split stuff into multiple files
- Make a flake
- merge hosted docs into a single subdomain
- pre-commit hook with 'nix eval ...outPath'
- Setup some remote-development and deploy flow
- users/pbsds: Support multiple profiles, like headless, nixpkgs-dev, various desktops, hpc, pvv, etc
- nixos-generate-config instructions for new hosts
- zfs, declarative pools?
- secrets - nix-sops ?
- flexget
- transmission
- domeneshop
- hydra
- self-hosted binary cache (single-machine) (nix-serve, carinae, harmonia, eris or attic)
- 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-vhost cert?
- Preferably setup a wildchar cert per host
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