generated from meterriblecrew/flake-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
tinydns | 3 years ago | |
tmp | 3 years ago | |
.gitignore | 3 years ago | |
README.org | 3 years ago | |
do | 3 years ago | |
flake.lock | 3 years ago | |
flake.nix | 3 years ago |
README.org
NixOS Modules
Modules
tinydns
A replacement for the upstream tinydns module. This module extends the service
in an incompatible way. You instantiate a service by adding an attribute
<ipv4-address>
under services.tinydns
. This flake comes with an extended
lib
attribute, which you must use in your nixos configuration (e.g. in the
call to nixpkgs#lib.nixosSystem
) to have special functions under lib.tinydns
available that create tinydns records from functions and arguments. See the
module documentation for currently available functions.
Development
This comes with a self-contained redo toolchain to help in working with the
flake. It basically deploys any input flake into the tmp
directory for easier
access.
redo targets under tmp/
come in three kinds:
-
clean
- will remove all build products under
tmp/
-
<flake>
- will make sure a store path to
<flake>
exists and puts an indirect root intotmp/<flake>
. -
<flake>.rw
- will make sure a store path to
<flake>
exists and will copy its contents totmp/.<flake>.rw
and will link to it fromtmp/<flake>.rw
. (Rationale: On Linux, directories cannot denote reliable targets due to their non-trivial relation to modification time.)