core lib & config definitions shared across all systems
Find a file
woodpecker-ci 50f6cd18dd
All checks were successful
ci/woodpecker/push/00-format Pipeline was successful
treewide: auto-update
2025-10-02 00:02:00 +00:00
.woodpecker .woodpecker: continuously cache to attic 2025-08-17 16:29:23 +02:00
certs treewide: offline changes while setting up git server 2025-07-08 06:01:14 +02:00
config config/hardening.nix: random.trust_cpu=off 2025-08-27 03:12:08 +02:00
lib treewide: offline changes while setting up git server 2025-07-08 06:01:14 +02:00
services services: init 2025-06-20 01:06:41 +02:00
template template: remote hosts 2025-06-23 23:09:47 +02:00
.gitignore .gitignore: init 2025-06-20 00:26:36 +02:00
flake.lock treewide: auto-update 2025-10-02 00:02:00 +00:00
flake.nix treewide: offline changes while setting up git server 2025-07-08 06:01:14 +02:00
LICENSE init 2025-06-19 22:34:40 +02:00
preset.nix treewide: offline changes while setting up git server 2025-07-08 06:01:14 +02:00
README.md README.md: init 2025-07-21 05:09:05 +02:00

Hi there, hello! This flake contains the library & util functions imported by all of my other flakes, plus a template for generating new ones.

The general structure of all flakes, including this one, is this (any non-standard stuff should be documented in the flake's README):

  • config/: contains all of the flake's generic options.az.* module defs, everything is disabled by default
  • services/: defines az.svc.* options, used for misc services not necessarily useful to all hosts
  • preset.nix: defines which az.* options are enabled by default for hosts/ (or in this flake, by all downstreams' hosts/)
  • hosts/: defines the actual systems, should ideally contain no redundant information. Not present in this flake for obvious reasons
  • core/: a git submodule of this flake, imported in flake.nix

This flake also includes:

  • lib/: azLib declaration, automatically imported by mkHostConfigurations into specialArgs
  • certs/: at time of writing unused global certs
  • template/: template of a flake using this one

These are the flake's outputs used in downstream flakes:

  • mkHostConfigurations/mkHostConf: helper functions for creating nixosConfigurations - see flake.nix and template/flake.nix
  • mkHydraJobs: helper function for creating hydraJobs, takes nixosConfigurations as an argument