Commit Graph

26 Commits

Author SHA1 Message Date
niten dbdcaf4cf0 Add CLI arguments in addition to env vars. 2022-06-20 13:10:12 -07:00
niten 502029dc80 Is the documentation all lying to me? 2022-06-20 11:46:06 -07:00
niten 3d8ab3db92 Is it really that easy to break ExecStart? 2022-06-20 11:39:18 -07:00
niten 1020e63fb8 Let's see if either of these env vars are set 2022-06-20 11:29:44 -07:00
niten d0b2329ced Maybe creds _should_ be in serviceConfig.
https://systemd.io/CREDENTIALS/
2022-06-20 11:17:41 -07:00
niten d03a8b8ab1 Made no difference 2022-06-19 17:00:32 -07:00
niten 917f2e5a93 Try removing some of the restrictions 2022-06-19 16:55:46 -07:00
niten c5f2a7cdde Try just specifying the file name 2022-06-19 16:48:45 -07:00
niten 67f33d2916 This is getting very frustrating... 2022-06-19 16:40:03 -07:00
niten 27ff1b1f80 Apparently systemd doesn't use / as a break 2022-06-19 15:32:10 -07:00
niten f0c47ef903 Stupid test 2022-06-19 15:11:51 -07:00
niten 39210c0871 Try moving LoadCredential to unitConfig 2022-06-19 13:35:30 -07:00
niten 7385b536b7 Make the description nicer 2022-06-19 13:16:51 -07:00
niten 3ec45f571f Apparently for env, %d is needed, not $CRED_DIR.
See: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LoadCredential=ID:PATH
2022-06-19 12:34:04 -07:00
niten 74fd327208 Switch from ExecStartPre to LoadCredential.
ExecStartPre %u and %T were relative to root.
2022-06-19 12:28:59 -07:00
niten ed4678d748 Oh, forget it, skip callPackage 2022-06-19 12:18:06 -07:00
niten 8e7bf64ef7 Sigh...it's in pkgs 2022-06-19 12:15:40 -07:00
niten ed490acae2 Finding callPackage.... 2022-06-19 12:13:14 -07:00
niten 710ae58885 mkCljBin creates an executable. Duh. 2022-06-19 12:11:44 -07:00
niten 9b814937b8 install must run as root (prepend +) 2022-06-19 12:05:34 -07:00
niten f68e5a2b17 Explicitly set path of `install` 2022-06-19 11:59:31 -07:00
niten d52684ae6c Copy auth token to a dynamic-user visible path. 2022-06-19 11:34:04 -07:00
niten a7e058e809 ...Or maybe it just didn't push. 2022-06-19 11:02:01 -07:00
niten f43bc32ce0 Seems to have had no effect. 2022-06-19 11:01:30 -07:00
niten f0a1e3ce2b Try just building for x86_64-linux.
Getting a mystery error.
2022-06-19 11:00:22 -07:00
niten 22a430239f Initial Checkin 2022-06-17 11:24:48 -07:00