summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* krops: diff environments in the diff action tootv7 days1-2/+2
| | | | | | | Without --environment, nix-diff skips the environment of a derivation when one of its inputs changed. A unit whose X-Restart-Triggers input changes then hides its own changes, e.g. a new RefreshOnReload= next to a changed config file.
* krops: diff derivations in the diff actiontv7 days1-0/+7
| | | | | | | diff-closures only shows version changes and size changes of 8 KiB or more, so configuration changes go unseen. nix-diff shows them. It comes from nix-shell -p with the target's nixpkgs if the target doesn't have it.
* exim-smarthost: use mylib instead of slibtv7 days1-2/+2
|
* tinc: use mylib instead of slibtv7 days1-3/+1
|
* krops: add diff actiontv7 days1-1/+14
| | | | | | diff builds the system on the target like deploy, then shows how its closure differs from the running system's and which units switching would stop, start, restart, or reload.
* exim-smarthost: use hrm.systemd.servicestv7 days2-2/+2
|
* exim-smarthost: import from stockholm 8f56ad9tv7 days2-1/+325
|
* systemd-credentials: optionally reload instead of restarttv7 days1-2/+26
| | | | | | | | | | | reloadIfCredentialsChange reloads the service when its credentials change, with RefreshOnReload=credentials so the reload sees the new ones. A service that can't be reloaded is restarted. It is off for every service so far: tinc's reload doesn't read its private key again, and the others haven't been checked. An assertion requires ExecReload= or Type=notify-reload, because with RefreshOnReload= set, systemd "reloads" any other service by refreshing its credentials without telling it.
* systemd-credentials: don't start stopped servicestv7 days1-1/+1
| | | | | systemctl restart starts a service that isn't running; try-restart doesn't.
* tinc: use hrm.systemd.servicestv7 days2-2/+2
|
* tinc: import from stockholm 8f56ad9tv7 days2-1/+253
|
* systemd-credentials: honor restartIfCredentialsChangetv7 days2-2/+2
| | | | | Units were made for every service in hrm.systemd.services, whatever restartIfCredentialsChange said. charybdis relied on that.
* systemd-credentials: update the cache atomicallytv7 days1-1/+1
| | | | | Make the temporary file next to the cache, so mv renames it rather than copying it from /tmp.
* systemd-credentials: drop let { body }tv7 days1-4/+4
|
* systemd-credentials: use mylib instead of slibtv7 days1-8/+6
|
* systemd-credentials: rename krebs.systemd to hrm.systemdtv7 days5-6/+11
| | | | | | The file was modules/krebs-systemd.nix to stay clear of modules/systemd.nix. krebs.systemd.services stays as an alias for stockholm's tinc, repo-sync, and exim-smarthost.
* systemd: import from stockholm 8f56ad9tv7 days2-1/+73
|
* cgit-about-filter: unhighlight on clicks outside linkstv7 days1-10/+16
| | | | | | While a heading is the #fragment, a click anywhere but on a link removes the fragment, like a click on the heading itself. Other links work as before, and a click that ends a text selection keeps the highlight.
* cgit-about-filter: link headings instead of a link symboltv7 days1-9/+24
| | | | | | The heading itself links to itself, underlined on hover. Clicking the heading the #fragment points to removes the fragment again, and with it the highlight.
* cgit-about-filter: link symbol after headingstv7 days1-1/+13
| | | | | | A chain link after each heading links to it, so the link can be copied. It shows when the heading is hovered or focused, and always on devices without hover.
* cgit-about-filter: highlight the target headingtv7 days1-0/+10
|
* cgit-about-filter: give headings idstv7 days1-0/+27
| | | | | | | md2html renders headings without ids, so links to #fragments go nowhere. Make ids the way GitHub does. Ids cgit uses on the about page get a suffix like repeated ones, so a heading "Summary" gets "summary-1" rather than clashing with <div id='summary'>.
* cgit-about-filter: all .md is renderabletv8 days1-1/+1
|
* cgit-about-filter: show errors in filter_open and filter_writetv8 days1-4/+24
| | | | | Errors there are swallowed the same way as in filter_close. Remember the first error and show it when the filter closes.
* cgit-about-filter: show errorstv8 days1-1/+13
| | | | | | | While a Lua filter is open, cgit hooks its own output into the filter. On a Lua error, cgit's error page ends up in the filter's buffer, so the response ends after <div id='summary'> and nothing is logged. Catch errors in filter_close and show them with a traceback.
* cgit-about-filter: check syntax at build timetv8 days1-4/+12
| | | | | | cgit loads Lua filters at request time, and with caching enabled, a filter that fails to load produces an empty response and an error page in a cache lock file, with nothing in any log. Fail the build instead.
* cgit-about-filter: link directories to their README.mdtv8 days2-8/+67
| | | | | | | A relative link to a directory goes to the about page of the directory's README.md, if the filter renders it and it exists on the branch being viewed, and to the tree otherwise. One git cat-file checks all links of a page.
* cgit-about-filter: factor out runtv8 days1-7/+11
| | | | The next commit runs git the same way as md2html.
* binary-cache: add clienttv9 days1-0/+15
| | | | | | | | | | | | Use ne's and zu's binary cache. With fallback, Nix disables a cache it can't reach for 60 seconds and builds instead, so an offline cache doesn't fail the build. connect-timeout lowers the wait per attempt from the default 15 seconds to 5. Nix retries failed downloads from every cache up to 5 times by default. For an unreachable cache that means waiting about 30 seconds per URL in each Nix command before Nix disables it. With one attempt, it is connect-timeout, 5 seconds. This also applies to cache.nixos.org.
* sshd: use hrm.nftables if enabledtv9 days1-21/+55
|
* sshd: add cfg.ssh.porttv9 days1-2/+4
|
* tv.iptables: use hrm.nftables if enabledtv9 days1-1/+81
|
* hrm.nftables: inittv9 days1-0/+336
|
* terminal-scanner: 1.1.0 -> 1.1.1tv9 days1-4/+4
|
* pkgs/haskell: add automatic packagestv10 days1-1/+17
|
* pkgs/haskell: use packageOverridestv10 days1-25/+11
|
* oai: set deploy targettv11 days1-0/+1
|
* krops.nix: read nixpkgs and target from systems/*/spec.nixtv11 days1-3/+8
|
* cgit-about-filter: size mermaid diagrams like the pagetv13 days1-2/+26
|
* xmonad: SuperToRivertv13 days2-1/+100
|
* cgit-about-filter: render mermaid diagramstv13 days1-0/+35
|
* cgit-about-filter: share column widths between tablestv13 days1-0/+90
|
* cgit-about-filter: style tablestv13 days1-0/+33
|
* cgit-about-filter: write through html()tv13 days1-7/+25
|
* cgit-about-filter: keep the branch in linkstv13 days1-2/+32
|
* cgit-about-filter: keep fragments out of the pathtv13 days1-2/+5
|
* gitrepos: use cgit-about-filtertv13 days1-8/+1
|
* cgit-about-filter: inittv13 days2-0/+98
|
* pkgs: compose overlays instead of fixing themtv14 days1-3/+2
|
* crate2nixPackage: check features vs TOMLtv2026-11-112-9/+42
|