!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

936 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay 207 Servers

Load older messages


SenderMessageTime
22 Oct 2024
@willbush:matrix.orgwillbush changed their profile picture.09:29:07
@ramblurr:outskirtslabs.comramblurr joined the room.11:08:16
@heph:matrix.org@heph:matrix.org left the room.14:41:02
24 Oct 2024
@eduardofox989:matrix.orgeduardofox989 joined the room.14:48:59
@eduardofox989:matrix.orgeduardofox989hello guys, i have a very strange problem with my emacs, the command project-find-dir and compile is returning an error “no such file or directory, /bin/bash”. I tried setting another shell in the emacs configuration but the error persists.14:50:59
25 Oct 2024
@lholh:matrix.orglholh joined the room.03:54:56
@chrispickard:matrix.org@chrispickard:matrix.org left the room.18:51:13
26 Oct 2024
@rgnnx:matrix.orgrgnnx joined the room.04:41:36
@xaltsc:matrix.orgxaltscHey, using the overlay, is it possible to specify a babel configuration and let nix tangle it without installing packages ?20:40:57
@willbush:matrix.orgwillbush left the room.23:42:01
27 Oct 2024
@willbush:matrix.orgwillbush joined the room.00:04:54
@hedy:envs.net@hedy:envs.net joined the room.09:15:15
28 Oct 2024
@tactfulvessel:matrix.orgtactfulvessel joined the room.01:49:04
@tactfulvessel:matrix.orgtactfulvesselhi anyone here using the emacs-overlay with home-manager? I need some help setting it upd01:49:45
@tactfulvessel:matrix.orgtactfulvesselI am using home-manager/flake inside ubuntu currently01:50:32
@rczb:envs.net@rczb:envs.net joined the room.03:11:15
@dpom:matrix.orgdpom
In reply to @tactfulvessel:matrix.org
I am using home-manager/flake inside ubuntu currently

{ config, lib, pkgs, callPackage, ... }:
let
tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-medium
dvisvgm dvipng # for preview and export as html
wrapfig amsmath ulem hyperref capt-of;
#(setq org-latex-compiler "lualatex")
#(setq org-preview-latex-default-process 'dvisvgm)
});
in
{
programs.emacs = {
enable = true;
package = (pkgs.emacsWithPackagesFromUsePackage {
# Your Emacs config file.
config = ./init.el;
# Whether to include your config as a default init file.
# If being bool, the value of config is used.
# Its value can also be a derivation like this if you want to do some
# substitution:
# defaultInitFile = pkgs.substituteAll {
# name = "default.el";
# src = ./emacs.el;
# inherit (config.xdg) configHome dataHome;
# };
defaultInitFile = true;

    # Package is optional, defaults to pkgs.emacs
    package = pkgs.emacs29;

    # By default emacsWithPackagesFromUsePackage will only pull in
    # packages with `:ensure`, `:ensure t` or `:ensure <package name>`.
    # Setting `alwaysEnsure` to `true` emulates `use-package-always-ensure`
    # and pulls in all use-package references not explicitly disabled via
    # `:ensure nil` or `:disabled`.
    # Note that this is NOT recommended unless you've actually set
    # `use-package-always-ensure` to `t` in your config.
    # alwaysEnsure = true;


    # Optionally provide extra packages not in the configuration file.
    extraEmacsPackages = epkgs: (with epkgs; [
      direnv
      all-the-icons
      ef-themes
      ox-pandoc
      request
      flycheck-clojure
      lsp-latex
      nov
      skewer-mode
    ]);

  });

};

home.packages = (with pkgs; [
# direnv
devenv
iosevka-comfy.comfy
source-code-pro
fd
ffmpegthumbnailer
imagemagick
mediainfo
poppler
unzip
pandoc
plantuml
tex
babashka
cask
clj-kondo
clojure
clojure-lsp
# gitlab-runner
neil
nodePackages.graphql-language-service-cli
nixfmt
python3
ripgrep
sqls
temurin-bin
yaml-language-server
docker
docker-buildx
docker-compose

]);

home.file.".config/emacs/init.el" = {
source = ./init.el;
};

home.file.".config/emacs/snippets" = {
source = ./snippets;
recursive = true;
};

home.file.".config/emacs/elisp" = {
source = ./elisp;
recursive = true;
};

home.file.".config/emacs/sounds" = {
source = ./sounds;
recursive = true;
};

home.file.".local/lib/plantuml.jar" = {
source = ./plantuml-1.2024.7.jar;
};
}

07:18:18
@tactfulvessel:matrix.orgtactfulvesselI see what you did there.... do I need the plantuml.jar and sounds?07:50:28
@tactfulvessel:matrix.orgtactfulvesselwill I be able to use the nixos example about installing packages outside of elpa and melpa07:51:34
@dpom:matrix.orgdpom
In reply to @tactfulvessel:matrix.org
I see what you did there.... do I need the plantuml.jar and sounds?
only if you use plantuml-mode or need sounds for reminders 🙂
07:53:22
@tactfulvessel:matrix.orgtactfulvessel
In reply to @tactfulvessel:matrix.org
will I be able to use the nixos example about installing packages outside of elpa and melpa
what about this?
07:54:08
@dpom:matrix.orgdpom
In reply to @tactfulvessel:matrix.org
what about this?
    extraEmacsPackages = epkgs: (with epkgs; [
      direnv
      all-the-icons
      ef-themes
      ox-pandoc
      request
      flycheck-clojure
      lsp-latex
      nov
      skewer-mode
    ]);
07:55:47
@tactfulvessel:matrix.orgtactfulvesselI get that.... I mean in emacs you can install packages from github using straight or whatever for packages not in melpa or elpa. NixOS wiki about emacs show an example about doing this in nix mode but it applied to environment packages and not home-packages... and a little bit confused about how to generate the rev and sha25607:58:19
@dpom:matrix.orgdpomif you want emacs packages not in nix put them in elisp directory07:59:23
@dpom:matrix.orgdpomfor sha256 is simple put in config a dummy one and see the error (it will have the correct sha256)08:00:35
@tactfulvessel:matrix.orgtactfulvesselhow do u get the rev? You know how doom emacs in its natural way pins down package. Is the rev referring to that for a github repo?08:05:09
@me:linj.techlinjyes08:08:52
@tactfulvessel:matrix.orgtactfulvesselthanks08:09:01
@me:linj.techlinjrev is git tag or commit 08:09:29
@me:linj.techlinjbtw, do not use trivialBuild08:09:57

Show newer messages


Back to Room ListRoom Version: 6