| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | lib: add flakeFollows | tv | 2 days | 1 | -0/+14 |
| | | | | | | flakeFollows lists the inputs a source draws from other sources, with the paths of nested inputs flattened. | ||||
| * | populate flake: add fetchOnTarget | tv | 2 days | 3 | -23/+97 |
| | | | | | | | | | | | With fetchOnTarget, the target fetches the input and its own inputs itself, using fetchTree with the arguments recorded in the flake's lock file. Only nix flake metadata runs on the deploying machine, so the inputs get downloaded once, by the target. This needs Nix with flake support on the target, which populate checks before fetching. Because nothing gets copied, this also works for targets using sudo. | ||||
| * | lib shell: add requireFlakes | tv | 2 days | 1 | -0/+14 |
| | | | | | | | Shell code that enables flakes for the Nix commands following it, and fails with an error message naming the host and the Nix version found, unless Nix supports flakes. | ||||
| * | populate: add flake source type | tv | 2 days | 3 | -1/+163 |
| | | | | | | | | | | | | | Deliver a flake, or one of its locked inputs, to the target: archive the flake locally, copy the selected input together with its own inputs into the target's store, and link it at the target path, registered as garbage collector root. The result can be used in NIX_PATH as well as by flakes evaluated on the target, without network access. nix copy runs with a separate ssh wrapper without the control socket, because Nix waits for its LocalCommand, which may not run over a multiplexed connection. | ||||
| * | populate: export TMPDIR | tv | 2 days | 1 | -0/+1 |
| | | | | | | | | Each job and the ssh wrapper run as separate scripts, which only see TMPDIR if it's exported. Without TMPDIR in the caller's environment, jobs fail, and the ssh wrapper's control socket ends up at the root directory. | ||||
| * | populate backup: fix error message | tv | 2 days | 1 | -1/+1 |
| | | |||||
| * | populate: derive socket name from target host | tv | 2026-01-01 | 1 | -2/+2 |
| | | |||||
| * | populate: use ssh control socket1.30.0 | tv | 2025-12-09 | 1 | -6/+12 |
| | | |||||
| * | populate use singular tmpdir | tv | 2025-12-09 | 1 | -24/+22 |
| | | | | | | | | | Set TMPDIR to a fresh, private top-level temporary directory, and run each job in a separate subdirectory beneath it. TMPDIR remains shared across all jobs, allowing reuse of resources like ssh control sockets. | ||||
| * | populate pass{,age}: use $pass_out | tv | 2025-12-09 | 1 | -9/+9 |
| | | |||||
| * | populate pipe: use rsync | tv | 2025-12-09 | 1 | -2/+10 |
| | | | | | Generate a reproducible output to transmit it only if it has changed. | ||||
| * | populate passage: rename loop variables | tv | 2025-04-09 | 1 | -6/+7 |
| | | |||||
| * | populate rsync': reduce verbosity | tv | 2025-04-09 | 1 | -1/+2 |
| | | |||||
| * | populate: add passage source type1.29.0 | tv | 2024-01-11 | 3 | -1/+82 |
| | | |||||
| * | init flake.nix | lassulus | 2023-07-22 | 2 | -0/+56 |
| | | |||||
| * | Merge pull request #38 from fuu0/patch-1 | Lassulus | 2023-04-08 | 1 | -1/+1 |
| |\ | | | | | Update README.md to fix broken link with infos to the `target` attribute | ||||
| | * | Update README.md | fuu0 | 2023-04-08 | 1 | -1/+1 |
| | | | | | | | fix broken link to with infos to the `target` attribute | ||||
| * | | populate pass: calculate hash for each symlink1.28.2 | lassulus | 2023-03-13 | 1 | -1/+9 |
| | | | | | | | | | | | this fixes folders with symlinks not getting updated if the symlinked file is in another subfolder of the pass repo | ||||
| * | | rebuild: set NIX_PATH like everywhere else1.28.1 | tv | 2022-09-07 | 1 | -3/+2 |
| | | | |||||
| * | | withNixOutputMonitor: run shell with know Nix path | tv | 2022-09-07 | 1 | -2/+3 |
| | | | |||||
| * | | runShell: admit non-posix-compatible shells | tv | 2022-09-07 | 1 | -1/+4 |
| | | | |||||
| * | | krops writeDeploy: add useNixOutputMonitor parameter1.28.0 | tv | 2022-08-23 | 2 | -7/+71 |
| | | | |||||
| * | | Merge remote-tracking branch 'prism/master'1.27.0 | tv | 2022-07-26 | 2 | -2/+7 |
| |\ \ | |/ |/| | |||||
| | * | krops writeTest: make trace optional | lassulus | 2022-07-26 | 2 | -2/+7 |
| | | | |||||
| * | | krops writeDeploy: add operation parameter | tv | 2022-07-16 | 2 | -3/+8 |
| |/ | |||||
| * | populate git: remove trailing spaces1.26.3 | tv | 2022-02-12 | 1 | -1/+1 |
| | | |||||
| * | populate git: remove non-worktree target | tv | 2022-02-12 | 1 | -0/+5 |
| | | |||||
| * | Merge pull request #35 from erikarvstedt/fix-ssh-port1.26.2 | tv | 2021-11-20 | 6 | -55/+78 |
| |\ | | | | | target: use default port from SSH config | ||||
| | * | target: use default port from SSH config | Erik Arvstedt | 2021-11-20 | 3 | -6/+8 |
| | | | | | | | | | | | This is the expected behavior. The SSH config is also implicitly used for other SSH-related settings. | ||||
| | * | populate file: isDerivation -> isStorePath1.26.1 | tv | 2021-10-26 | 1 | -2/+2 |
| | | | |||||
| | * | populate file: admit derivations1.26.0 | tv | 2021-10-26 | 4 | -8/+25 |
| | | | |||||
| | * | README: transfered -> transferred | tv | 2021-10-26 | 1 | -1/+1 |
| | | | |||||
| | * | README: talk about systems | tv | 2021-10-26 | 1 | -1/+1 |
| | | | |||||
| | * | populate: add rsyncDefaultConfig | tv | 2021-10-26 | 1 | -7/+14 |
| | | | |||||
| | * | runShell/writeCommand: add allocateTTY argument | lassulus | 2021-10-26 | 2 | -4/+11 |
| | | | |||||
| | * | krops writeDeploy: deprecate fast parameter | lassulus | 2021-10-26 | 1 | -29/+19 |
| | | | |||||
| | * | README: use latest krops version in example | Matthias Beyer | 2021-10-26 | 1 | -2/+2 |
| |/ | | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de> | ||||
| * | README: update irc link | lassulus | 2021-07-22 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #30 from krebs/fixupsv1.25.0 | Lassulus | 2021-03-23 | 2 | -4/+8 |
| |\ | | | | | (hopefully) fix pass with subfolders, make README more clear for extraOptions | ||||
| | * | README: better usecase for extraOptions | lassulus | 2021-02-16 | 1 | -1/+1 |
| | | | |||||
| | * | populate pass: don't decrypt .gpg-id | lassulus | 2021-02-16 | 1 | -1/+1 |
| | | | |||||
| | * | populate pass: make git optional again | lassulus | 2021-01-17 | 1 | -2/+6 |
| |/ | |||||
| * | isLocalTarget: use "localhost" as defaultv1.24.1 | tv | 2021-01-16 | 1 | -5/+12 |
| | | | | | | This fixes an issue when trying to deploy using sudo from systems that don't provide means to determine the real host name. | ||||
| * | README: ops -> operations | tv | 2021-01-05 | 1 | -1/+1 |
| | | | | | Because there's no need to save on characters. | ||||
| * | Make pass source follow symlinksv1.24.0 | Simon Bruder | 2020-12-15 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #26 from Mic92/contrib | tv | 2020-12-14 | 1 | -1/+2 |
| |\ | | | | | README: mention github fork | ||||
| | * | README: mention github fork | Jörg Thalheim | 2020-12-14 | 1 | -1/+2 |
| | | | |||||
| * | | Merge pull request #24 from jpotier/fix-sudo-for-remote | tv | 2020-11-20 | 1 | -0/+2 |
| |\ \ | |/ |/| | Add flag to nixos-rebuild | ||||
| | * | Add flag to nixos-rebuild | Martin Potier | 2020-11-20 | 1 | -0/+2 |
| |/ | | | | | | | In the case we need sudo for the remote target, the flag `--use-remote-sudo` must be passed if the target's ssh user is not root. If target's ssh user is root, it doesn't hurt to use sudo. | ||||
| * | Merge pull request #21 from elohmeier/git-shallowv1.23.0 | tv | 2020-07-02 | 3 | -3/+23 |
| |\ | | | | | add shallow option to git source type | ||||
