summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* configs fail2ban: inittv15 hours1-0/+69
|
* ne: enable hrm.nftablestv16 hours1-11/+7
|
* tv.iptables: keep extra4 and extra6 rules to their familytv16 hours1-12/+15
|
* ne: inittv17 hours4-0/+341
|
* networkd: disable wait-online by systemd.network.wait-online.enabletv17 hours1-2/+2
|
* leg: enable hrm.nftablestv18 hours1-0/+2
|
* leg: inittv18 hours2-0/+124
|
* hu: enable hrm.nftablestv20 hours1-0/+2
|
* hu: set boot.zfs.forceImportRoottv20 hours1-0/+1
|
* hu: inittv20 hours2-0/+168
|
* fu: enable hrm.nftablestv26 hours1-0/+2
|
* fu: inittv27 hours2-0/+54
|
* framework-13th-gen-intel: inittv27 hours1-0/+164
|
* dule: add back what evaluatestv27 hours1-1/+42
|
* tv.iptables: translate host names by the host's /etc/hoststv27 hours1-2/+6
|
* dule: enable hrm.nftablestv27 hours1-0/+2
|
* dule: inittv28 hours2-0/+39
|
* configs hw tiny5: inittv28 hours1-0/+27
|
* initrd/sshd: match eth*tv28 hours1-1/+1
|
* configs hrm-ci: inittv4 days1-0/+24
| | | | | | | | Define the hrm.ci instance for hrm, which runs nix-build krops.nix --no-out-link --argstr name HOSTNAME -A build for each host with ci = true in its spec.nix.
* hrm.ci: inittv4 days1-0/+479
| | | | | | | | | | | | | | | | | Build pushed branches of git repositories. Each instance in hrm.ci.instances serves one repository: its hook queues each pushed branch, and hrm-ci-NAME.service runs the instance's build script for each job its jobs script lists, keeping request.json, build.json and a log per job for every run in /var/lib/hrm-ci/NAME/runs. Dependencies are branches of other repositories, unpacked into the build's $HOME. Their hooks queue rebuilds of all branches, and each request records the dependency revisions it gets built against. Pushed trees are untrusted. Each instance runs as its own user, with a sandboxed service that can write only to its state directory, can't see /home, and limits each script run with timeout(1). Job names are restricted to [A-Za-z0-9_][A-Za-z0-9._-]*.
* krebs.git: run post-receive hooks only oncetv4 days1-4/+0
| | | | | | | makeHooks links a repo's post-receive hook into the hooks directory, where git runs it after updating the refs. The generated pre-receive no longer also runs it inline, where it ran before the refs were updated and with its stdin already consumed.
* continuum: add packagetv4 days1-1/+2
| | | | Each instance can run a continuum of its own, pkgs.continuum by default.
* continuum: add domaintv4 days1-2/+52
| | | | | | | | An instance with a domain gets an nginx virtual host passing requests on to its HTTP API, over a Unix socket in its runtime directory. The socket is the instance's group's (continuum-<name>, made for it), which nginx's user joins; continuum makes it 0660, and the directory is 0750. The instance checks who users are itself, so requests pass on as they come.
* continuum: add usertv5 days1-1/+10
| | | | An instance runs as a dynamic user unless it names one.
* continuum: add credentialstv5 days1-1/+19
| | | | | | | credentials maps names to secret files. They reach the instance by LoadCredential, so settings refer to them as ${env:CREDENTIALS_DIRECTORY}/<name>, and the instance restarts when one changes.
* continuum: keep written files in the state directorytv5 days1-1/+25
| | | | | | | | state-file and document-file, and where they apply store-file, store-vote-record and tor.state-dir, default to files in ${env:STATE_DIRECTORY}. The defaults go in when the file is written rather than through the module system: a default that depends on other settings of the same free-form set recurses infinitely there.
* continuum: add moduletv5 days1-0/+59
| | | | | | | | hrm.continuum.instances.<name> makes a service continuum-<name> from settings, which are continuum's options, written as TOML into the store. The service runs as a dynamic user with a state directory and nothing but the network. It restarts always, as continuum exits with status 0 when a transport stops.
* continuum: enable the federation featuretv5 days1-1/+1
| | | | For store-id and store-party, and the continuum-party client.
* continuum: 0.0.0 -> 0.0.1tv5 days1-2/+2
|
* krops: diff environments in the diff action tootv6 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 actiontv6 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 slibtv6 days1-2/+2
|
* tinc: use mylib instead of slibtv6 days1-3/+1
|
* krops: add diff actiontv6 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.servicestv6 days2-2/+2
|
* exim-smarthost: import from stockholm 8f56ad9tv6 days2-1/+325
|
* systemd-credentials: optionally reload instead of restarttv6 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 servicestv6 days1-1/+1
| | | | | systemctl restart starts a service that isn't running; try-restart doesn't.
* tinc: use hrm.systemd.servicestv6 days2-2/+2
|
* tinc: import from stockholm 8f56ad9tv6 days2-1/+253
|
* systemd-credentials: honor restartIfCredentialsChangetv6 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 atomicallytv6 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 }tv6 days1-4/+4
|
* systemd-credentials: use mylib instead of slibtv6 days1-8/+6
|
* systemd-credentials: rename krebs.systemd to hrm.systemdtv6 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 8f56ad9tv6 days2-1/+73
|
* cgit-about-filter: unhighlight on clicks outside linkstv6 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 symboltv6 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 headingstv6 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.