Commit Graph

46 Commits

Author SHA1 Message Date
niten eefa15a4c0 updated flake.lock 2024-03-24 09:19:43 -07:00
niten 40dcb126a9 Changes? 2024-03-23 11:33:12 -07:00
niten 9269eb1a7e modules -> imports 2022-08-22 13:57:57 -07:00
niten 6d79e8c936 Overlays should be a list 2022-08-22 13:57:16 -07:00
niten d88883586a Surely this won't work... 2022-08-22 13:56:19 -07:00
niten a9206a7a3d Use system from prev in overlay 2022-08-22 12:59:12 -07:00
niten 36e5d96b6b Try changing the package name
Not sure if available
2022-08-22 12:09:55 -07:00
niten 903d1b81d1 Update dependencies 2022-08-22 09:30:34 -07:00
niten 72d3613970 Fixes for linting...and add real checks. 2022-06-21 16:48:42 -07:00
niten 3b4e2b6790 Ever-so-slightly friendlier. 2022-06-20 16:18:18 -07:00
niten ce32b7defa Notify the channel on startup 2022-06-20 16:12:32 -07:00
niten 9267239983 Strip newline from auth token file 2022-06-20 15:53:52 -07:00
niten 30637bdead Print what we're getting for the auth token 2022-06-20 15:41:33 -07:00
niten 93a54b9c1b Forgot to try compiling... 2022-06-20 15:12:10 -07:00
niten 9ab84d6e96 Oh, right, options are nested. 2022-06-20 15:05:07 -07:00
niten eaf901c050 Print out the vars we did get 2022-06-20 14:35:17 -07:00
niten 2de1824ee9 Forget it, let's just work it out 2022-06-20 13:40:32 -07:00
niten 4b785b610c Why is auth token missing? 2022-06-20 13:33:13 -07:00
niten 9a75565d95 Oops, was doing double getenv 2022-06-20 13:25:01 -07:00
niten 6f3ad64971 Update dependencies, fix defaults. 2022-06-20 13:17:26 -07:00
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