~aasg/nixexprs

ref: 1286f4fa6d0b5c8409fd60ae92d1bb2e69a39da9 nixexprs/modules d---------
7cdebded — Aluísio Augusto Silva Gonçalves 8 months ago
dyndnsc: Remove import fallback for default package

pkgs/default.nix no longer exists, and I'm not sure we can import the
root default.nix without introducing a cycle.  Should someone want to
use this module without our pkgs overlay, they can specify the package
manually.
50ca12cb — Aluísio Augusto Silva Gonçalves 8 months ago
dma: Allow package to be configured

This is mostly so we can drop the import for a file that no longer
exists (pkgs/default.nix), but also for consistency with other NixOS
modules.
30dc87d1 — Aluísio Augusto Silva Gonçalves 8 months ago
modules/dma: Fix fallback package path

You can't just `{ inherit pkgs; }` a callPackage.
8ad74633 — Aluísio Augusto Silva Gonçalves 9 months ago
modules/wireguard-systemd: Support keepalive setting

This field was originally added manually to the attrset (so we could
convert nulls into zeroes) before we switched to using pipe, and we
forgot to un-filter it once we switched.
a6d530c8 — Aluísio Augusto Silva Gonçalves 9 months ago
modules/wireguard-systemd: init

Rather than using an ad-hoc configuration on my new machines, upstream
this here.  Eventually I might push this to Nixpkgs if I work out the
tests and integration with the scripted variant, or if someone else
volunteers.
44837255 — Aluísio Augusto Silva Gonçalves 9 months ago
lib: Receive Nixpkgs lib directly to avoid recursing into pkgs
cc4d051f — Aluísio Augusto Silva Gonçalves 9 months ago
lib: Fully separate from Nixpkgs' lib

This is sort of a revert and different take on 2703028a92be, which I
decided to do after reading github:NixOS/nixpkgs#51797.  Preventing
our functions from being transparently accessed by derivations and
modules makes it easier to figure out what else needs to be upstreamed
with them.  Where that is still wanted, the new `lib/extension.nix` is
an overlay done right, balking at conflicts between Nixpkgs and us.
2703028a — Aluísio Augusto Silva Gonçalves 9 months ago
Make our lib functions available to ourselves

It's a weird song and dance I'm not confident in, and the overlaid
functions aren't available to modules in the `lib` argument (we have
to get them individually from `pkgs.lib` instead to avoid infinite
recursion).

I should revisit this sometime.  Maybe.
be10c382 — Aluísio Augusto Silva Gonçalves 9 months ago
matrix-appservice-irc: Add NixOS module

Inspired by, but not a copy of, github:NixOS/nixpkgs#95854.
bca90d51 — Aluísio Augusto Silva Gonçalves 10 months ago
ipfs-cluster: Remove unused and poorly understood service options

See also github:NixOS/nixpkgs#97512.
7122fd82 — Aluísio Augusto Silva Gonçalves 10 months ago
trust-dns: Decrease service logging level

By default it logs too much, and overrides RUST_LOG regardless.
0f74d5e4 — Aluísio Augusto Silva Gonçalves 10 months ago
trust-dns: Use systemd's DynamicUser feature

We don't really need a static user.  Zone files can be owned by root and
world-readable, and DNSSEC keys… guess I'll figure them out shortly.
36c1d11e — Aluísio Augusto Silva Gonçalves 10 months ago
trust-dns: init at 0.19.5
97209d91 — Aluísio Augusto Silva Gonçalves 11 months ago
modules/ipfs-cluster: Fix path to module file
483b4f0e — Aluísio Augusto Silva Gonçalves 11 months ago
modules/ipfs-cluster: init
10d9814b — Aluísio Augusto Silva Gonçalves 11 months ago
modules/dma: Run setuid so we can access the mail spool

dma will fail if it can't access /var/spool/dma, even if running on
nullclient, no defer mode.
002641b7 — Aluísio Augusto Silva Gonçalves 11 months ago
modules/dma: Add configurable sendmail wrapper
56e8ce8a — Aluísio Augusto Silva Gonçalves 11 months ago
modules/dma: init
4a7cc80b — Aluísio Augusto Silva Gonçalves 1 year, 1 month ago
Split packages and modules off nixos-configurations

This will allow me to make them public while keeping the NixOS
configuration private.

Some reorganization was made to 1) be compatible with NUR, even though
I don't currently use it; and 2) mirror the nixpkgs taxonomy, to more
easily move packages upstream later on.

All package and NixOS module expressions were taken from
nixos-configurations@361ad13626117ee715ee1e215458329e8d0bada4.