~aasg/nixexprs

6b733142 — Aluísio Augusto Silva Gonçalves 5 months ago
make-job-script: Extract systemd service script builder from Nixpkgs

This can be used when you want to use `preStart`, `postStart`, or
`preStop` but also need to apply one of the special executable prefixes.
30ebec15 — Aluísio Augusto Silva Gonçalves 5 months ago
aasg-brotlify: New hook to auto-compress static websites

aasgBrotlifyHook can be passed in a derivation's `nativeBuildInputs`
to compress all HTML, CSS, and JS files in the output (as well as the
corrresponding source maps) with Brotli.  It is expected to be used by
packages that are or contain websites.
78370872 — Aluísio Augusto Silva Gonçalves 5 months ago
Switch all systemd services from Type=simple to Type=exec

Type "exec" waits until the service process is exec'ed before
reporting success, while "simple" succeeds right after the fork
and will not detect errors such as missing binaries or invalid
user/group.
13602af1 — Aluísio Augusto Silva Gonçalves 6 months ago
trust-dns: Add dependency on libiconv

libiconv is implicitly provided by glibc on linux-gnu, but on other
platforms it need to be added as a dependency explicitly.  (I'm fixing
a test on macOS, but this might apply to the BSDs as well.)
b9f9901f — Aluísio Augusto Silva Gonçalves 6 months ago
ci: Configure nixos-20.09 channel explicitly

Ensure that we're using the latest revision of the channel, instead of
whatever revision the OS image was built with.  I hope it's reasonable
to expect users to be up to date.

If we end up rolling this back, we also need to rollback the previous
commit, as the sourcehut image comes with Cachix 0.5.1 which doesn't
have `watch-exec`.
42109db5 — Aluísio Augusto Silva Gonçalves 6 months ago
ci: Use `cachix watch-exec` to upload built derivations

Replace the ls-then-diff logic we borrowed from cachix-action with
cachix's new watch-exec command, simplifying the build steps and
possibly reducing the CI time (by pushing in parallel with building,
haven't checked if it does that though).
3abbc16d — Aluísio Augusto Silva Gonçalves 6 months ago
trust-dns: 0.19.5 -> 0.20.1
d9e37c65 — Aluísio Augusto Silva Gonçalves 6 months ago
daemonocle: 1.0.2 -> 1.2.2
89755dd1 — Aluísio Augusto Silva Gonçalves 6 months ago
prometheus-bird-exporter: 1.2.4 -> 1.2.5
8f7cca52 — Aluísio Augusto Silva Gonçalves 6 months ago
matrix-appservice-irc: 0.23.0 -> 0.25.0
8164b0e5 — Aluísio Augusto Silva Gonçalves 6 months ago
guile-json: 4.4.1 -> 4.5.2
b731c5cd — Aluísio Augusto Silva Gonçalves 6 months ago
dyndnsc: 0.5.1 -> 0.6.0
8069e9aa — Aluísio Augusto Silva Gonçalves 6 months ago
json-logging: init at 1.3.0
90891e29 — Aluísio Augusto Silva Gonçalves 6 months ago
flake: Update inputs
61437e1c — Aluísio Augusto Silva Gonçalves 7 months ago
Replace stdenv.lib with lib

This is a local counterpart of github:NixOS/nixpkgs#108938, which does
the same for Nixpkgs.  Generated files were not altered.
6208e9cb — Aluísio Augusto Silva Gonçalves 8 months ago
flake: Update inputs
adc4d68d — Aluísio Augusto Silva Gonçalves 8 months ago
rtl8723bu: 2020-09-04 -> 2020-11-24
4c843db4 — Aluísio Augusto Silva Gonçalves 9 months ago
flake: Expose lib as an output

For some reason I thought this triggered an error during `nix flake
check`.  Turns out it only emits a warning, so we can now properly
access `lib` without having to import it ourselves now.
54d1260c — Aluísio Augusto Silva Gonçalves 9 months ago
wireguard-systemd: Use new functions in our lib

`concatMapAttrs` with Nix' null attribute name erasure is really handy.
928af0c3 — Aluísio Augusto Silva Gonçalves 9 months ago
wireguard-systemd: Escape interface name in device unit name

I don't use the script options so I hadn't noticed it before, but
escaping is needed for them to work with interfaces with
non-alphanumeric characters in their names.
Next