summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* enstate: let a slot's source be a locationtv12 hours1-2/+6
|
* enstate: validators in a sandboxtv12 hours1-2/+2
| | | | The pinned commit, rewritten since, is no longer on enstate's master.
* krops.nix: deliver enstate submissions by populatetv14 hours1-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/kropstv14 hours1-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 programtv14 hours1-0/+1
| | | | lib.getExe, which enstate's module uses, warned without it.
* crate2nix-package: take metatv14 hours1-5/+10
|
* krops.nix: put enstate submissions in place in one steptv14 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.
* tincr: take the man pages from the source as builttv16 hours1-6/+5
| | | | As enstate's completion: with ~/sync/src/tincr, from that checkout.
* enstate: take the bash completion from the source as builttv16 hours1-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 builttv16 hours1-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 completiontv16 hours2-5/+16
| | | | From the source, which has it since 0a32f2f.
* crate2nix-package: join extraPaths to any packagetv16 hours1-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.servicestv16 hours9-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, prettytv17 hours1-1/+21
| | | | pkgs/rust uses them.
* krops.nix: submit enstate state with remote builds, tootv17 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 enstatetv17 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.
* ru: take retiolum's key from enstatetv17 hours2-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 deployingtv18 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: name each slot's sourcetv18 hours1-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 helpertv18 hours3-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 repositoriestv18 hours1-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 sourcetv18 hours5-0/+15
| | | | | For its NixOS module, which every host imports and only hosts with enstate.enable use.
* krops.nix: check before setting the system profiletv19 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.
* default.nix: provide hrm's package set as pkgstv20 hours2-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 checkouttv27 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 qitv29 hours1-7/+8
|
* update-sources: inittv2 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.jsontv2 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.jsontv2 days2-6/+7
| | | | Without a branch: it moves when a change in the fork is ready.
* krops.nix: pin nixpkgs in sources.jsontv2 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.jsontv2 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-smalltv2 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 pushtv3 days1-2/+0
| | | | | get's source is gone with ni, and push asks a stockholm that no longer answers.
* configs: drop ovh-zonetv3 days1-1/+0
|
* configs: drop hashPasswordtv3 days1-1/+0
| | | | mkpasswd -m sha-512, which every system has, does the same.
* xoutinfo, with-tmpdir: fetch from cgit.krebsco.detv3 days2-2/+2
| | | | ni is gone.
* ff: take libtv3 days1-1/+1
|
* kpaste: inittv3 days1-0/+32
| | | | configs/default.nix installs it.
* krops.nix: add crate2nixtv3 days1-0/+4
|
* crate2nix: add the programtv3 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.
* ru: keep the MX Anywhere 3's wheel at whole detentstv3 days2-0/+19
| | | | | | 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.
* qi: keep wvkbd running with the sway sessiontv3 days1-8/+5
| | | | | Hidden, and shown and hidden by signal, so it appears at once and takes the display from sway's environment.
* qi: run lisgd with the sway sessiontv3 days1-14/+16
| | | | | | 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.
* qi: compile the kernel with ccache where the builder has onetv3 days1-6/+26
| | | | | | 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.
* zu: offer builds a ccachetv3 days1-0/+3
| | | | | In /var/cache/ccache, which builds see in their sandbox; a build has to ask for it, by a stdenv with ccache.
* 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.
* qi: offer the firmware where newer kernels look for ittv3 days1-0/+5
| | | | | 7.1's device tree names qcom/sdm845/OnePlus/enchilada and qca/OnePlus/enchilada, 6.18's the oneplus6 directories.
* qi: load the regulatory database once the root is theretv3 days1-0/+10
| | | | | cfg80211 is built in, looks for regulatory.db at boot, finds none and stays with the world domain, whatever country gets set later.
* qi: set the wireless regulatory domain to DEtv3 days1-0/+1
|
* qi: don't tell the kernel where modprobe istv3 days1-0/+1
| | | | | A kernel without modules has no /proc/sys/kernel/modprobe, so the activation script failed there.