diff --git a/chicken/chicken.nix b/chicken/chicken.nix index c97c81b..140ca92 100644 --- a/chicken/chicken.nix +++ b/chicken/chicken.nix @@ -21,13 +21,16 @@ ] ++ (with pkgs; [ chicken # (chicken.overrideAttrs (final: previous: { - # assets = fetchurl { - # url = "https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz"; - # sha256 = "sha256-3fwcepem+1xj5UlQ+fCjvjHVtE8LO5co2A0k5gx5cZU="; - # }; + # buildInputs = previous.buildInputs ++ [ curl ]; + # # assets = fetchurl { + # # url = "https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz"; + # # sha256 = "sha256-3fwcepem+1xj5UlQ+fCjvjHVtE8LO5co2A0k5gx5cZU="; + # # }; + # postBuild = (previous.postBuild or "") + '' + # curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz; + # ''; # postInstall = (previous.postInstall or "") + '' - # cd `csi -R chicken.platform -p '(chicken-home)'`; - # tar zxf ${assets}; + # tar zxf chicken-doc-repo-5.tgz -C cd `csi -R chicken.platform -p '(chicken-home)'`; # ''; # })) ]); diff --git a/emacs/init.el b/emacs/init.el index 0db3a70..23cc81d 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -607,7 +607,8 @@ Point must be at the beginning of balanced expression (sexp)." :config (eval-after-load 'eglot '(add-to-list 'eglot-server-programs - '(scheme-mode . ("chicken-lsp-server")))) + '(scheme-mode + . ("env" "CHICKEN_DOC_REPOSITORY=/home/zilti/.local/share/chicken-doc" "chicken-lsp-server")))) :hook (scheme-mode . eglot-ensure)) @@ -690,28 +691,28 @@ Point must be at the beginning of balanced expression (sexp)." ;;;; Communication ;;;;; IRC -(use-package circe +(use-package rcirc :ensure t - :hook - (circe-chat-mode . enable-circe-color-nicks) :custom - (circe-network-options - '(("Lyrion OFTC" - :host "lyrion.ch" + (rcirc-server-alist + `(("liberachat.irc.lyrion.ch" + :server-alias "irc.libera.chat" :port 6697 - :tls t :nick "zilti" - :sasl-username "zilti/irc.oftc.net" - :sasl-password (lambda (_) - (password-store-get "Privat/Soju"))) - ("Lyrion Libera Chat" - :host "lyrion.ch" + :full-name "Daniel Ziltener" + :user-name "zilti/irc.libera.chat" + :password ,(password-store-get "Privat/Soju") + :encryption tls + :channels ("#chicken"))) + `(("oftc.irc.lyrion.ch" + :server-alias "irc.oftc.net" :port 6697 - :tls t :nick "zilti" - :sasl-username "zilti/irc.libera.chat" - :sasl-password (lambda (_) - (password-store-get "Privat/Soju")))))) + :full-name "Daniel Ziltener" + :user-name "zilti/irc.oftc.net" + :password ,(password-store-get "Privat/Soju") + :encryption tls + :channels ())))) (provide 'init) ;;; init.el ends here diff --git a/flake.lock b/flake.lock index 335eb7d..75c3486 100644 --- a/flake.lock +++ b/flake.lock @@ -27,11 +27,11 @@ ] }, "locked": { - "lastModified": 1700847865, - "narHash": "sha256-uWaOIemGl9LF813MW0AEgCBpKwFo2t1Wv3BZc6e5Frw=", + "lastModified": 1701071203, + "narHash": "sha256-lQywA7QU/vzTdZ1apI0PfgCWNyQobXUYghVrR5zuIeM=", "owner": "nix-community", "repo": "home-manager", - "rev": "8cedd63eede4c22deb192f1721dd67e7460e1ebe", + "rev": "db1878f013b52ba5e4034db7c1b63e8d04173a86", "type": "github" }, "original": { @@ -50,11 +50,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1700862359, - "narHash": "sha256-gNtAZ9m5gTT0C/HTiqAVGQ2MPH+TBoIKBvROPJvlHWQ=", + "lastModified": 1701023633, + "narHash": "sha256-lX/PsZrKEtdk/cUIET/UYhQKPJRkNq2hlbLH6VQSpWc=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "745b998587fc39db6e3f77caa54074da618cd509", + "rev": "99ca26d4eb84e0071264713902e5b287fcab392e", "type": "github" }, "original": { @@ -138,11 +138,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1700612854, - "narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=", + "lastModified": 1700794826, + "narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614", + "rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8", "type": "github" }, "original": { @@ -234,18 +234,18 @@ "flake": false, "locked": { "host": "gitlab.freedesktop.org", - "lastModified": 1700736101, - "narHash": "sha256-1Fh1xf/JX5zFbGIF9LDaffaleG6JDwwwnKby0LyiXEA=", + "lastModified": 1700734054, + "narHash": "sha256-SBu1y01WjCSrcCKvgfCDDckrZjU/OmCJT8Xc+hPow7E=", "owner": "wlroots", "repo": "wlroots", - "rev": "f1762f428b0ef2989c81f57ea9e810403d34d946", + "rev": "2eb225236eb72f27beec921e9f37ddf58e874fba", "type": "gitlab" }, "original": { "host": "gitlab.freedesktop.org", "owner": "wlroots", "repo": "wlroots", - "rev": "f1762f428b0ef2989c81f57ea9e810403d34d946", + "rev": "2eb225236eb72f27beec921e9f37ddf58e874fba", "type": "gitlab" } },