summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "flameshot-once: reinit with flameshot 12.1.0-pre"tv31 hours6-4/+334
| | | | | | This reverts commit 1d1ab286f4fda352d3e598a4b2addc3992c02e85, which removed flameshot-once without adding the new version it announced.
* krops.nix: refuse the enstate action while the profile waits for a reboottv43 hours1-0/+7
| | | | | | | The running generation would plan the submissions, and refuse what only the profile's generation has a slot for; the reboot would find nothing to take.
* krops.nix: leave what waits to the reboot, after a deploy with boottv43 hours1-19/+21
| | | | | | | | A deploy that finds the profile up to date took what waits with enstate --migrate, under the running generation, also when the profile waits for a reboot: what only the new generation has a slot for got refused, and the reboot found nothing to take.
* krops.nix: show what enstate says needs attentiontv43 hours1-0/+15
| | | | | | | | After the switch, or the migration without one: a submission the running generation refused (at boot, say), or a required slot without an entry, fails the deploy, with enstate --status' report. Not for boot, whose generation doesn't run yet.
* krops.nix: forget the submissions a refused check leavestv43 hours1-4/+22
| | | | | | They would wait in enstate's incoming directory, and refuse every later switch to a generation that refuses them, too.
* krops.nix: check before boot, tootv43 hours1-10/+22
| | | | | | | | | 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.
* enstate: take the slots' sources and the source lists from its moduletv44 hours2-39/+3
| | | | | Upstream has hrm's options now, in the same shape.
* krops.nix: no enstate source lists for a minimal hosttv44 hours1-2/+3
| | | | | Its configuration has no enstate options, so deploying oxi failed.
* retiolum: name the key by the location secretstv2 days1-3/+2
|
* krops.nix: declare the location secrets for enstatetv2 days1-1/+3
|
* enstate: let a slot's source be a locationtv2 days1-2/+6
|
* enstate: validators in a sandboxtv2 days1-2/+2
| | | | | The pinned commit, rewritten since, is no longer on enstate's master.
* krops.nix: deliver enstate submissions by populatetv2 days1-21/+19
| | | | | | | | 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.
* krops.nix: keep enstate submissions in /run/enstate/kropstv2 days1-18/+15
| | | | | | | | 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.
* enstate: say its main programtv2 days1-0/+1
| | | | | lib.getExe, which enstate's module uses, warned without it.
* crate2nix-package: take metatv2 days1-5/+10
|
* krops.nix: put enstate submissions in place in one steptv2 days1-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.
* tincr: take the man pages from the source as builttv2 days1-6/+5
| | | | | As enstate's completion: with ~/sync/src/tincr, from that checkout.
* enstate: take the bash completion from the source as builttv2 days1-7/+4
| | | | | | | 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.
* crate2nix-package: let extraPaths see the source as builttv2 days1-3/+5
| | | | | | extraPaths may be a function from { src }, the source after pkgs/rust replaced it with a checkout in ~/sync/src, if there is one.
* enstate: install the bash completiontv2 days2-5/+16
| | | | | From the source, which has it since 0a32f2f.
* crate2nix-package: join extraPaths to any packagetv2 days1-11/+13
| | | | | | Not only to the members of a workspace: a root crate's build gets them, too. Packages without extraPaths build as before.
* systemd-credentials: make the options part of systemd.servicestv2 days9-69/+60
| | | | | | | | | | | | | 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.
* lib: add debug, debugIf, prettytv2 days1-1/+21
| | | | | pkgs/rust uses them.
* krops.nix: submit enstate state with remote builds, tootv2 days1-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 enstatetv2 days1-10/+37
| | | | | | It delivers only the host's enstate submissions, packed as for deploy, and the running system takes them, without populating or building.
* ru: take retiolum's key from enstatetv2 days2-1/+38
| | | | | | | | 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.
* krops.nix: submit enstate state when deployingtv2 days1-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: name each slot's sourcetv2 days1-2/+35
| | | | | | | | 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.
* enstate: build with hrm's crate2nix helpertv2 days3-2/+10
| | | | | | 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.
* crate2nix-package: find git dependencies in their repositoriestv2 days1-2/+14
| | | | | | 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.
* enstate: add as a sourcetv2 days5-0/+15
| | | | | For its NixOS module, which every host imports and only hosts with enstate.enable use.
* krops.nix: check before setting the system profiletv2 days1-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.
* default.nix: provide hrm's package set as pkgstv2 days2-0/+9
| | | | | From legacy.nix's legacyPackages, nixpkgs with hrm's overlays, e.g. nix-build -A pkgs.crate2nix.
* krops.nix: deliver any source from a checkouttv3 days1-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 qitv3 days1-7/+8
|
* update-sources: inittv4 days1-0/+58
| | | | | | 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.
* tincr: pin in sources.jsontv4 days3-11/+11
| | | | | | 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.jsontv4 days2-6/+7
| | | | Without a branch: it moves when a change in the fork is ready.
* krops.nix: pin nixpkgs in sources.jsontv4 days3-14/+13
| | | | | 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.jsontv4 days2-4/+20
| | | | | 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.
* ne: follow nixos-26.05-smalltv4 days2-0/+5
| | | | | Security fixes arrive there sooner, and ne needs nothing that the small channel's builds leave out of the binary cache.
* configs: drop get and pushtv4 days1-2/+0
| | | | | get's source is gone with ni, and push asks a stockholm that no longer answers.
* configs: drop ovh-zonetv4 days1-1/+0
|
* configs: drop hashPasswordtv4 days1-1/+0
| | | | mkpasswd -m sha-512, which every system has, does the same.
* xoutinfo, with-tmpdir: fetch from cgit.krebsco.detv4 days2-2/+2
| | | | ni is gone.
* ff: take libtv4 days1-1/+1
|
* kpaste: inittv4 days1-0/+32
| | | | configs/default.nix installs it.
* krops.nix: add crate2nixtv4 days1-0/+4
|
* crate2nix: add the programtv4 days1-1/+1
| | | | | | 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.
[cgit] Unable to lock slot /tmp/cgit/33000000.lock: Permission denied (13)