aboutsummaryrefslogtreecommitdiffstats
path: root/lib/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* lib: add flakeFollowstv2 days1-0/+14
| | | | | flakeFollows lists the inputs a source draws from other sources, with the paths of nested inputs flattened.
* lib shell: add requireFlakestv2 days1-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.
* target: use default port from SSH configErik Arvstedt2021-11-201-2/+6
| | | | | This is the expected behavior. The SSH config is also implicitly used for other SSH-related settings.
* isLocalTarget: use "localhost" as defaultv1.24.1tv2021-01-161-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.
* lib: add firstWordtv2020-06-081-0/+3
|
* support default target attrs for attrSetsErik Arvstedt2020-04-181-7/+12
|
* add target.extraOptionsErik Arvstedt2020-04-181-0/+1
|
* ssh: support using ssh-configured usertv2019-11-291-1/+1
| | | | | | | Let ssh use the user configured in its configuration files when the target user is set to the empty string. Closes https://github.com/krebs/krops/issues/2
* ssh, rsync: support using sudo on remoteMilan Pässler2019-11-291-2/+3
| | | | | | | | This allows deployment of remote hosts without having ssh access to the root user. Passwordless sudo is recommended since krops will use multiple ssh sessions and the password will not be remembered. Closes https://github.com/krebs/krops/issues/3
* populate file: add useChecksumv1.8.0tv2018-11-281-0/+1
|
* populate git: add clean.excludev1.7.0tv2018-10-311-0/+1
|
* lib: add shell.quotetv2018-07-121-0/+10
|
* lib: add isLocalTargettv2018-07-121-0/+6
|
* import stockholm's deployment toolstv2018-02-281-0/+56
https://cgit.krebsco.de/stockholm 877b4104370c1ea9698a449e376e2842d7c372fd