summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* knot: DANE records for netv25 hours2-0/+52
|
* knot: tv.krebsco.detv25 hours2-0/+40
|
* ne: knot, authoritative for viljetic.detv25 hours5-1/+242
| | | | | The zones come from hrm.dns.zones, a new module that writes zone files from records by owner name, checked by kzonecheck.
* ne: drop cgit.ne.viljetic.detv30 hours1-3/+0
|
* krops.nix: diff with nix-diff-rstv32 hours1-8/+5
|
* nix-diff-rs: inittv33 hours2-0/+21
|
* crate2nix: 1cb6033 -> 7b3397dtv33 hours1-2/+2
|
* alnus: RIPtv43 hours1-79/+0
|
* sshd: take the host key from enstate where it is enabledtv43 hours1-28/+89
| | | | | | | | | | | As application/x-openssh-private-key; algorithm=ed25519, a type of hrm's own with a validator, from the host's entry in the passage store unless the host names another, instead of krebs.build.host.ssh.privkey. sshd reads the key itself, not by LoadCredential=, so it gets ordered after enstate.service here, and enstate reloads it, which reads the key again, when it changes. A generated key, after enstate's, keeps sshd up while enstate has none: on a first boot, with lost state, or after a rollback it can't serve.
* firewall: ports by nametv43 hours2-3/+3
|
* tv.iptables: droptv44 hours2-303/+1
|
* retiolum, wiregrill: declare their firewall zonestv44 hours2-0/+4
|
* ne: configure hrm.nftables directlytv44 hours1-19/+38
|
* zoppo: accept mbim-reconnect's ICMPv6 by hrm.nftablestv44 hours1-7/+11
|
* dnsmasq: configure hrm.nftables directlytv44 hours1-13/+14
| | | | The forward chain accepts established and related connections itself.
* x0vncserver: accept its port by hrm.nftablestv44 hours1-1/+1
|
* unbound: accept its ports by hrm.nftablestv44 hours1-4/+4
|
* nginx: accept http by hrm.nftablestv44 hours2-4/+2
|
* exim-smarthost: accept smtp by hrm.nftablestv44 hours1-1/+1
|
* exim-retiolum: accept smtp by hrm.nftablestv44 hours1-1/+1
|
* retiolum: configure hrm.nftables onlytv44 hours1-8/+2
|
* sshd: configure hrm.nftables onlytv44 hours1-50/+28
|
* wiregrill: accept forwarding within wiregrill on the hubtv45 hours2-1/+5
| | | | For both families; ne had it for IPv4 only.
* wiregrill: accept its port by hrm.nftablestv45 hours1-3/+1
|
* im: accept mosh and the weechat relay by hrm.nftablestv45 hours1-12/+16
|
* configs: enable hrm.nftables everywheretv45 hours9-15/+1
| | | | | Hosts still configured by tv.iptables keep their rules: the adapter translates them.
* nftables: accept established and related in forwardtv46 hours1-0/+5
|
* wiregrill: forward on the hub, for both familiestv46 hours2-1/+5
| | | | ne set IPv4 forwarding itself; IPv6 forwarding came from tv's dirt.
* wiregrill: route each peer's addresses on the hubtv46 hours1-2/+11
| | | | | | Peers' subnets are empty but for the hub's, so the hub had no route to any other host. The other hosts have only hubs as peers: those without an endpoint were of no use to them.
* wiregrill: don't make the host its own peertv46 hours1-1/+5
|
* wiregrill: take the key from enstate where it is enabledtv2 days1-29/+78
| | | | | | | | | | | | | As application/x-wireguard-private-key, a type of hrm's own with a validator, from the host's entry in the passage store unless the host names another. With networkd, the key is systemd-networkd's credential, so enstate's module orders it after enstate.service, and enstate restarts systemd-networkd when the key changes; the scripted unit reads the key itself, so it gets the ordering here, and enstate restarts it. Without the key, systemd won't start networkd at all, taking every interface down; a placeholder key as networkd's fallback credential leaves only wiregrill down until the key comes.
* krops.nix: say what the target and the builder gettv2 days1-1/+7
|
* pkgs/README.md: where packages' sources and plans come fromtv2 days1-0/+55
| | | | | | The rules pkgs/haskell and pkgs/rust follow, and why, for the next overlay of the kind.
* legacy.nix: inputs from their checkouts, where there are sometv2 days1-9/+19
| | | | | | As for packages: a checkout in ~/sync/src wins over NIX_PATH, for every input but nixpkgs and secrets.
* plans: show unused plans, and evaluate oncetv2 days1-43/+39
| | | | | | | | | A plan kept in hrm whose package's source has a Cargo.json of its own doesn't apply. plans shows it as unused/current or unused/stale, and --update makes it again anyway, as it may apply on a builder. The sources and feature flags for --update come from the same evaluation as the states, instead of one more per plan.
* pkgs/rust: clean the packages' sources in the overlaytv2 days2-5/+16
| | | | | | | | | A package file in pkgs/rust names its source as it is; the overlay builds a cleaned copy of it, and checks the plan against the source itself. So the copy can leave Cargo.lock out next to a Cargo.json, as before, while the lock check still has it. A source in the store already, like a fetched one, isn't copied again.
* pkgs/rust: a source's own plan, not the one kept in hrmtv2 days1-8/+11
| | | | | | | | | | A plan goes with the source it was made for. A checkout in ~/sync/src used the plan in pkgs/rust/<pname>/ anyway, which was made for the package's own source; now it uses its own Cargo.json, or none. A package's source that has a Cargo.json, like a checkout delivered by krops' checkouts=, uses that, too; the plan kept in hrm applies only to sources without one.
* crate2nix-package: compare Git crates by revision, tootv2 days1-2/+10
| | | | | | | | checkLock knew a crate by name and version only, so a plan with an older revision of a Git dependency of the same version passed: enstate's plan, with continuum's config crate at 45b0676 where Cargo.lock had 9f64a8d, failed to compile on the deploying host.
* enstate: named importers instead of locationstv2 days3-9/+6
| | | | | | | | enstate a5175d9 replaces locations by named importers, and refuses the old form. A slot names its source as { secrets.key = …; }, and krops.nix puts its importer secrets into each source list's meta.importer, merged with the host's own enstate.importers.
* plans: inittv2 days1-0/+171
| | | | | | | | | Says whether the stored plans hrm builds Rust and Haskell projects from are current, stale or missing, as hrm's evaluation sees them: the Cargo.json and cabal2nix.nix of the checkouts in ~/sync/src, and the Cargo.json kept in pkgs/rust/<pname>/. With --update, makes them again, for all projects or the named ones.
* pkgs/rust: check plans kept in hrm against the package's sourcetv2 days1-1/+12
| | | | | | | | | | Only plans in ~/sync/src checkouts were checked, against the checkout. A plan in pkgs/rust/<pname>/Cargo.json, used wherever there's no checkout, as on the hosts, wasn't checked at all: enstate's, older than its libc, passed and failed the build on ru. rustHrmCrateArgs has these packages' arguments as hrm has them, without what ~/sync/src overrides, for plans to check them, too.
* crate2nix-package: catch dependencies added since the plantv2 days1-1/+26
| | | | | | | | checkLock only sees crates the plan has and the lock doesn't, so a plan older than a new dependency, like enstate's libc, passed and the build failed. Now the root crate's non-optional dependencies in Cargo.toml must be in the plan.
* krops.nix: deliver enstate submissions to enstate.providersDirtv2 days1-8/+10
| | | | | | Its directory for providers, as the host's configuration names it, on a ramfs that is never written to swap, instead of /run/enstate/krops.
* enstate: views and scratch on a ramfstv2 days1-2/+2
| | | | | | Memory that is never written to swap, at /run/enstate/memory, with enstate.providersDir on it, for what providers like krops deliver.
* pkgs/haskell: an automatic package from the checkout's cabal.nixtv2 days1-1/+18
| | | | | | | If the checkout has one, instead of running cabal2nix during evaluation. It starts with the sha256 of the .cabal file it was made from, and a mismatch fails evaluation, with the command that makes it again.
* pkgs/haskell: leave dist-newstyle/ out of the copied sourcetv2 days1-1/+8
| | | | | | | lib.cleanSource kept cabal's build directory, so a checkout with a build in it was copied into the store whole. mylib.copyWithout, as for Rust, leaves out .git, .graveyard and dist-newstyle.
* pkgs/rust: leave target/ out of the copied sourcetv2 days2-8/+16
| | | | | | | A checkout in ~/sync/src with a cargo build in it was copied into the store whole. The copying moves to mylib.copyWithout, which the Haskell overlay can use, too.
* git-preview: merge with git merge-treetv2 days1-15/+11
| | | | | | | | | | | | The merge happens in the object store, without a worktree, a checkout or a commit. That fixes a conflict stopping the script before it removed its worktree, and the removal of .git/worktrees/NAME failing outside the repository's top directory and in a linked worktree. A conflict now shows in the diff, as conflict markers. merge-tree knows only git's default strategy, so GIT_PREVIEW_MERGE_STRATEGY goes. The commit is checked first, since merge-tree exits with 1, as for a conflict, for a name it can't resolve.
* git-preview: import from stockholm f880f1dtv2 days1-0/+20
|
* pipewire: JACK tootv3 days1-0/+1
|