Commit Graph

37 Commits

Author SHA1 Message Date
e8221faeb1 Convert to Babashka script with modern idle detection
Replace heavyweight JVM Clojure with Babashka for instant startup and
simplicity. The script now uses mosquitto_pub CLI tool instead of the
Java MQTT client library.

Key improvements:
- Use systemd-logind for idle detection (works with X11 and Wayland)
- Fallback to xprintidle for legacy X11-only systems
- Replace Paho MQTT client with mosquitto_pub CLI
- Eliminate all external dependencies (use Babashka built-ins)
- Add shebang for direct execution
- Fix compatibility with NixOS 25.11 and modern Wayland systems

This resolves the 'screen saver extension not supported' error by using
loginctl to query systemd-logind instead of relying on X11 extensions.
2026-02-15 23:42:53 -08:00
3c17eab1ed Update deps 2026-02-09 15:38:24 -08:00
3755693de6 Update deps-lock.json 2026-02-09 15:19:58 -08:00
5937d793e2 Updated deps 2026-02-02 17:47:24 -08:00
0fe6aa147a Migrate test runner from cognitect.test-runner to eftest
- Replace cognitect.test-runner with eftest 0.6.0
- Update Clojure and core dependencies to latest versions
- Update fudo-clojure to latest SHA
2026-02-02 15:59:45 -08:00
5f366ca174 Update library deps to use preppedSrc and regenerate deps-lock.json 2026-02-02 11:08:06 -08:00
6725174e36 Update helpers to version with legacyPackages 2026-02-02 10:17:02 -08:00
d6f59437c2 Update to use helpers.legacyPackages instead of helpers.packages
Builder functions have been moved to legacyPackages in fudo-nix-helpers
to satisfy nix flake check requirements.
2026-02-02 08:58:36 -08:00
ecbd4942ad update dependencies 2024-07-12 19:34:51 -07:00
5c9c7b8359 switch to github 2024-06-25 19:44:18 -07:00
f079b882da Update deps with helpers 2024-04-21 12:11:28 -07:00
114dc5d9de updated flake.lock 2024-03-24 09:19:47 -07:00
a52626e237 ConditionPathExists can't use env vars.
Use a separate watch job instead.
2023-09-26 13:13:22 -07:00
9a97eb1de7 Don't try to start if we don't have a password 2023-08-28 13:22:23 -07:00
ae318bf499 DON'T start wallfly if you're not logged in... 2023-08-28 13:19:27 -07:00
ee9e3281d6 Don't start without graphical-session 2023-08-23 15:16:05 -07:00
0a7967727e Wanted-by graphical-session doesn't seem to work? 2023-05-20 14:59:24 -07:00
40c136217d Move 'restart' into 'serviceConfig' 2023-05-03 14:46:05 -07:00
6e002176af Restart the job if it fails. 2023-05-03 09:43:59 -07:00
f7bde8592f Merge branch 'master' of ssh://git.fudo.org:2222/fudo-public/WallFly 2023-03-18 18:42:39 -07:00
84dd2d5f8b Fix typo 2023-03-18 18:42:22 -07:00
560fe19fa1 Updated flake.lock 2023-01-11 11:22:03 -08:00
6421ba08ae If we get an exception, just quit.
Let systemd handle restarting.
2023-01-11 11:00:52 -08:00
niten
90ba657a24 There is no xorg.target. Use graphical-session. 2022-09-26 11:04:14 -07:00
a970ad8159 Don't start wallfly until after X starts 2022-09-06 17:26:36 -07:00
892d9f52ae Apparently users don't have access to multi-user 2022-09-04 22:06:28 -07:00
6c17df6850 net-tools -> nettools 2022-07-01 16:30:12 -07:00
4c3c594d0d Add executables to path 2022-07-01 16:28:37 -07:00
d672dd5dbd password-file -> mqtt-password-file 2022-07-01 15:59:55 -07:00
2dfbfa0a12 Added :gen-class 2022-07-01 15:48:42 -07:00
f915906637 Try enabling the service 2022-07-01 15:35:01 -07:00
15ca0509a9 Remove protections--it's running as user anyway 2022-07-01 15:33:44 -07:00
dc56919b03 OTOH I do have to make them strings later. 2022-07-01 13:14:56 -07:00
6543b95739 Why did I make that a string? 2022-07-01 13:14:26 -07:00
2f528776a9 Can I pass in an overlay? 2022-07-01 11:43:44 -07:00
e61f18116c Figuring out how to integrate with nixos cfg. 2022-07-01 11:40:44 -07:00
267efb83c8 Initial checkin 2022-06-30 13:41:49 -07:00