| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
It delivers only the host's enstate submissions, packed as for deploy,
and the running system takes them, without populating or building.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
For its NixOS module, which every host imports and only hosts with
enstate.enable use.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
Without a branch: it moves when a change in the fork is ready.
|
| |
|
|
|
| |
Each channel is an entry of its own, nixpkgs/CHANNEL, which a host
chooses by spec.nixpkgs. Replaces nixpkgs.json.
|
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
A directory instead of the pinned revision, with whatever is in it, to
try a kernel without committing, pushing and pinning it first.
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Upstream is at 6.4 and has no RMNET, which mobile data needs.
|
| | |
|
| | |
|
| |
|
|
| |
A host with builders is evaluated on the deploying host, without <secrets>, which stockholm resolves for krebs.secret.directory.
|
| |
|
|
| |
It failed for a host's first remote build, with a missing sentinel file.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|