summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* firewall: ports by nametv7 hours2-3/+3
|
* tv.iptables: droptv8 hours2-303/+1
|
* retiolum, wiregrill: declare their firewall zonestv8 hours2-0/+4
|
* ne: configure hrm.nftables directlytv8 hours1-19/+38
|
* zoppo: accept mbim-reconnect's ICMPv6 by hrm.nftablestv8 hours1-7/+11
|
* dnsmasq: configure hrm.nftables directlytv8 hours1-13/+14
| | | | The forward chain accepts established and related connections itself.
* x0vncserver: accept its port by hrm.nftablestv8 hours1-1/+1
|
* unbound: accept its ports by hrm.nftablestv8 hours1-4/+4
|
* nginx: accept http by hrm.nftablestv8 hours2-4/+2
|
* exim-smarthost: accept smtp by hrm.nftablestv8 hours1-1/+1
|
* exim-retiolum: accept smtp by hrm.nftablestv8 hours1-1/+1
|
* retiolum: configure hrm.nftables onlytv8 hours1-8/+2
|
* sshd: configure hrm.nftables onlytv8 hours1-50/+28
|
* wiregrill: accept forwarding within wiregrill on the hubtv9 hours2-1/+5
| | | | For both families; ne had it for IPv4 only.
* wiregrill: accept its port by hrm.nftablestv9 hours1-3/+1
|
* im: accept mosh and the weechat relay by hrm.nftablestv9 hours1-12/+16
|
* configs: enable hrm.nftables everywheretv9 hours9-15/+1
| | | | | Hosts still configured by tv.iptables keep their rules: the adapter translates them.
* nftables: accept established and related in forwardtv10 hours1-0/+5
|
* wiregrill: forward on the hub, for both familiestv10 hours2-1/+5
| | | | ne set IPv4 forwarding itself; IPv6 forwarding came from tv's dirt.
* wiregrill: route each peer's addresses on the hubtv10 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 peertv10 hours1-1/+5
|
* wiregrill: take the key from enstate where it is enabledtv13 hours1-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 gettv14 hours1-1/+7
|
* pkgs/README.md: where packages' sources and plans come fromtv14 hours1-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 sometv14 hours1-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 oncetv14 hours1-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 overlaytv14 hours2-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 hrmtv15 hours1-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, tootv17 hours1-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 locationstv17 hours3-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: inittv17 hours1-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 sourcetv17 hours1-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 plantv17 hours1-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.providersDirtv17 hours1-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 ramfstv17 hours1-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.nixtv17 hours1-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 sourcetv20 hours1-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 sourcetv20 hours2-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-treetv20 hours1-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 f880f1dtv20 hours1-0/+20
|
* pipewire: JACK tootv30 hours1-0/+1
|
* pulse: droptv31 hours1-118/+0
| | | | | No host imports it any more; configs/pipewire.nix took its place.
* xserver: no PulseAudio in xmonad's pathtv31 hours1-1/+0
| | | | | xmonad-tv calls none of its tools.
* xmonad-tv: pwvucontrol instead of pavucontroltv31 hours1-2/+2
|
* hu: pwvucontrol instead of pavucontroltv31 hours1-2/+2
|
* zu: PipeWire instead of PulseAudiotv31 hours1-1/+1
|
* xu: PipeWire instead of PulseAudiotv31 hours1-1/+1
|
* nomic: PipeWire instead of PulseAudiotv31 hours1-1/+1
|
* bu: PipeWire instead of PulseAudiotv31 hours2-1/+29
| | | | | | | | | configs/pipewire.nix runs it system-wide, as configs/pulse.nix did PulseAudio, so that several users can play audio at the same time. Instead of its anonymous socket, the sockets are for the group pipewire, which the host's build user joins. Clients learn the sockets' places from PIPEWIRE_RUNTIME_DIR and PULSE_SERVER. Without the tunnel to au, for now.
* illum: let go of input devices that vanishtv31 hours2-0/+61
| | | | | | On -ENODEV, the daemon deletes the input device instead of keeping it. Upstream has it since a67fb42 (as #22), after v0.5, which nixpkgs has.
[cgit] Unable to lock slot /tmp/cgit/f0200000.lock: Permission denied (13)