summaryrefslogtreecommitdiffstats
path: root/krops.nix
Commit message (Collapse)AuthorAgeFilesLines
* krops.nix: put enstate submissions in place in one steptv12 hours1-1/+7
| | | | | | From /run to /var/lib/enstate, mv copies, so a submission was briefly half there in the incoming directory. Now each is copied under a dot name, which enstate skips, and renamed.
* krops.nix: submit enstate state with remote builds, tootv14 hours1-22/+33
| | | | | | | As with builds on the target: packed here once the system is copied, moved to the incoming directory on the target before activating it. The packing runs in a subshell, as the remote build's own trap keeps the builder's GC root until the end.
* krops.nix: add the action enstatetv14 hours1-10/+37
| | | | | It delivers only the host's enstate submissions, packed as for deploy, and the running system takes them, without populating or building.
* krops.nix: submit enstate state when deployingtv15 hours1-0/+46
| | | | | | | | | The deploying host evaluates the host's enstate.sourceLists, packs each channel's submission with hrm's enstate, in memory, and copies it to the target's memory; once the system is built, it goes to enstate's incoming directory, where the switch's pre-switch check plans it and enstate.service takes it; without a switch, enstate --migrate takes it. Builds on the target only, for now.
* enstate: add as a sourcetv15 hours1-0/+1
| | | | | For its NixOS module, which every host imports and only hosts with enstate.enable use.
* krops.nix: check before setting the system profiletv16 hours1-0/+9
| | | | | | | | switch-to-configuration runs the pre-switch checks only after nix-env has made the new system the profile, so a refused switch left it to be booted next time. Only before a switch: check runs the checks as for a switch, and with boot, those that skip boot would run. The switch itself then skips them (NIXOS_NO_CHECK), so they don't run twice.
* krops.nix: deliver any source from a checkouttv24 hours1-12/+33
| | | | | | checkouts, a comma-separated list of NAME or NAME=PATH, replaces the mobile-nixos argument: each named source comes from the directory, as it is, ~/sync/src/NAME without a path.
* krops.nix: mobile-nixos only for qitv26 hours1-7/+8
|
* tincr: pin in sources.jsontv2 days1-9/+2
| | | | | | With the hash, as the package fetches it into the store, and without a branch, as a new revision needs a new plan. krops.nix reads the same entry for the NixOS module, instead of importing the package file.
* krops.nix: pin mobile-nixos in sources.jsontv2 days1-6/+2
| | | | Without a branch: it moves when a change in the fork is ready.
* krops.nix: pin nixpkgs in sources.jsontv2 days1-4/+1
| | | | | Each channel is an entry of its own, nixpkgs/CHANNEL, which a host chooses by spec.nixpkgs. Replaces nixpkgs.json.
* krops.nix: pin crate2nix in sources.jsontv2 days1-4/+12
| | | | | One file for the pins of the git sources, so a tool can update them. An entry has url, rev and date, and branch if it follows one.
* krops.nix: add crate2nixtv2 days1-0/+4
|
* krops.nix: add mobile-nixostv3 days1-4/+16
| | | | | A directory instead of the pinned revision, with whatever is in it, to try a kernel without committing, pushing and pinning it first.
* mobile-nixos: keep qi's display working after blankingtv3 days1-1/+1
|
* krops.nix: add bootimg, fastboot.boot, fastboot.flashtv3 days1-98/+157
| | | | | | They build a host's boot image on a builder like its system, with GC roots of its own, and fetch it as a file; the fastboot actions then start it once, or write it and reboot.
* krops.nix: deliver every secrets source to the targettv4 days1-2/+3
|
* krops.nix: evaluate as on the targettv4 days1-25/+50
| | | | | | | | | | A host with builders gets evaluated here, but with its sources mounted where the target has them, so that paths like <secrets> are the target's, as if it had evaluated itself, and nothing needs to be told where the secrets are. This host's checkouts get mounted there as well, instead of linked: a link would lead to this host's path, and one into the target's path, where this host has its own sources, to itself.
* mobile-nixos: sdm845 kernel 6.11.0 -> 6.18.2, without modulestv5 days1-1/+1
|
* mobile-nixos: name the kernel file the system expectstv5 days1-1/+1
|
* mobile-nixos: don't run stage-1 libxkbcommon's teststv5 days1-1/+1
|
* mobile-nixos: use the fork with the sdm845 6.11 kerneltv5 days1-2/+2
| | | | Upstream is at 6.4 and has no RMNET, which mobile data needs.
* krops.nix: evaluate with the builder's systemtv5 days1-2/+5
|
* krops.nix: choose the builder before evaluatingtv5 days1-13/+13
|
* krops.nix: evaluate with the target's secret directorytv5 days1-0/+1
| | | | A host with builders is evaluated on the deploying host, without <secrets>, which stockholm resolves for krebs.secret.directory.
* krops.nix: let populate create the evaluation directorytv5 days1-2/+1
| | | | It failed for a host's first remote build, with a missing sentinel file.
* mobile-nixos: add as a sourcetv5 days1-0/+4
|
* tincr: install the man pagestv6 days1-1/+5
|
* tincr: add as a sourcetv6 days1-0/+5
|
* krops.nix: leave out secrets for hosts without themtv6 days1-1/+2
|
* krops.nix: pass the derivation, not its GC root, to the buildertv7 days1-0/+2
|
* krops.nix: take only numbers as portstv7 days1-3/+7
|
* krops.nix: quote the commands for the builder's shelltv7 days1-4/+6
|
* krops.nix: keep builders' GC roots only while deployingtv7 days1-10/+17
|
* krops.nix: builders as targets, with the path for their GC rootstv7 days1-21/+44
|
* krops.nix: link or shallow-clone git sources for evaluationtv8 days1-28/+29
|
* krops.nix: build on builderstv8 days1-23/+265
|
* krops.nix: add switch argumenttv8 days1-11/+30
|
* krops: diff environments in the diff action tootv13 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 actiontv13 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.
* krops: add diff actiontv13 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.
* krops.nix: read nixpkgs and target from systems/*/spec.nixtv2026-11-141-3/+8
|
* krops.nix: inittv2026-11-091-0/+85