| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
enstate's check runs for boot now (enstate 34ac5db), and runs before
the profile is set only by the separate check. For boot, that's
enstate's check alone, run as its module runs it: NixOS' check of switch
inhibitors skips boot, but not when switch-to-configuration runs it as
check, and would refuse a deploy with boot for what boot is for.
|
| |
|
|
| |
Upstream has hrm's options now, in the same shape.
|
| |
|
|
| |
Its configuration has no enstate options, so deploying oxi failed.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
The pinned commit, rewritten since, is no longer on enstate's master.
|
| |
|
|
|
|
|
| |
A pipe source with directory = true, whose command packs into the
directory populate gives it, in a populate run of its own with the
target's /run/enstate/krops as target path, instead of mktemp, rsync and
ssh by hand. It needs krops' populate at 9cbe2fa or later.
|
| |
|
|
|
|
|
| |
Next to enstate's views, by channel name, and kept after a deploy, so
the next one sends only what changed (rsync --checksum; --delete for a
channel that's gone). They get stamped when moved into the incoming
directory, still only after the build.
|
| |
|
|
| |
lib.getExe, which enstate's module uses, warned without it.
|
| | |
|
| |
|
|
|
|
| |
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 enstate's completion: with ~/sync/src/tincr, from that checkout.
|
| |
|
|
|
|
| |
With ~/sync/src/enstate, the package was built from it, but the
completion came from inputs.enstate, on the deploying host its own
/var/src/enstate, from before the completion existed.
|
| |
|
|
|
| |
extraPaths may be a function from { src }, the source after pkgs/rust
replaced it with a checkout in ~/sync/src, if there is one.
|
| |
|
|
| |
From the source, which has it since 0a32f2f.
|
| |
|
|
|
| |
Not only to the members of a workspace: a root crate's build gets them,
too. Packages without extraPaths build as before.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
systemd.services.<name>.restartIfCredentialsChange and
reloadIfCredentialsChange replace hrm.systemd.services.<name>.…; the
alias for stockholm's krebs.systemd.services now points there. Units
can't be made from config.systemd.services itself, so the trigger
services become two templates, credentials-restart@ and
credentials-reload@, which call systemctl themselves; only the path units
remain per service, by their old names. Without comparing checksums
any more: the path units fire when a credential is written, and nothing
rewrites one unchanged.
|
| |
|
|
| |
pkgs/rust uses them.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
configs/retiolum.nix takes it from enstate wherever enstate is enabled,
as application/x-tinc-private-key; algorithm=ed25519, a type of hrm's
own, with a validator, and names its source: the host's entry in the
passage store, unless the host names another.
|
| |
|
|
|
|
|
|
|
| |
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.channels.<channel>.slots.<slot>.source, in enstate's source
syntax, run on the deploying host; enstate.sourceLists gathers them per
channel, complete if every slot of the channel names a source, for the
deploying host to evaluate. Shared configs set sources with
lib.mkDefault, for hosts to override.
|
| |
|
|
|
|
| |
From the populated source, as the NixOS module, so both are of the same
revision; with the source's Cargo.json if it has one, else from its
Cargo.lock. The package set gets the inputs for it.
|
| |
|
|
|
|
| |
build-from-json builds a git dependency from the root of its repository,
so enstate's config, which lives in continuum's repository, got
continuum's own sources.
|
| |
|
|
|
| |
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.
|
| |
|
|
|
| |
From legacy.nix's legacyPackages, nixpkgs with hrm's overlays, e.g.
nix-build -A pkgs.crate2nix.
|
| |
|
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
|
| |
Moves the entries of sources.json that follow a branch to its head, or
the named ones. It refuses entries pinned by hand, and ones with a hash,
which it can't compute.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Security fixes arrive there sooner, and ne needs nothing that the small
channel's builds leave out of the binary cache.
|
| |
|
|
|
| |
get's source is gone with ni, and push asks a stockholm that no longer
answers.
|
| | |
|
| |
|
|
| |
mkpasswd -m sha-512, which every system has, does the same.
|
| |
|
|
| |
ni is gone.
|
| | |
|
| |
|
|
| |
configs/default.nix installs it.
|
| | |
|
| |
|
|
|
|
| |
pkgs.crate2nix was only the two library parts of the crate2nix source;
now it is the program built from that source, with them as attributes,
so the generator and build-from-json are of the same revision.
|
| |
|
|
|
|
| |
hid-logitech-hidpp switches the wheel to high resolution whenever the
mouse connects, so after each resume, and then it scrolls at the touch
of a finger. logid switches it back each time.
|
| |
|
|
|
| |
Hidden, and shown and hidden by signal, so it appears at once and takes
the display from sway's environment.
|
| |
|
|
|
|
| |
As a user service of sway-session.target, which NixOS' sway starts from
/etc/sway/config.d, instead of a script for the user's sway config to
call.
|
| |
|
|
|
|
| |
The wrapped compiler uses /var/cache/ccache if the build can write
there, and plain compilation otherwise, so the kernel still builds on a
builder without it.
|
| |
|
|
|
| |
In /var/cache/ccache, which builds see in their sandbox; a build has to
ask for it, by a stdenv with ccache.
|