github-actions[bot] 8579c57f7d flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - a704b902 -> 72d88532 (#334)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: a704b90295...72d8853228

- [5b4b6b5a](5b4b6b5a03) python310Packages.mkdocs-jupyter: relax nbconvert version constraint
- [d00d56fe](d00d56fedf) libftdi: fix darwin build
- [d3ea3da7](d3ea3da740) catch2_3: 3.1.0 -> 3.1.1
- [06e61dbe](06e61dbed3) python310Packages.transitions: fix darwin build
- [7667dba1](7667dba1c6) lychee: 0.10.1 -> 0.10.2
- [b46e0d23](b46e0d23ba) rapidfuzz-cpp: 1.10.0 -> 1.10.1
- [db046f0e](db046f0ef3) python310Packages.rapidfuzz: 2.13.0 -> 2.13.2
- [1fc779be](1fc779bedb) python310Packages.fakeredis: 1.10.0 -> 1.10.1
- [5116aa1c](5116aa1cf2) gnome-latex: 3.41.2 → 3.42.0
- [76a29bd3](76a29bd3ce) gtksourceview4: 4.8.3 → 4.8.4
- [fcccf610](fcccf610c5) libpanel: 1.0.1 → 1.0.2
- [1bf6d3cd](1bf6d3cd8e) tepl: 6.1.2 → 6.2.0
- [e4db4901](e4db490117) yelp-tools: 42.0 → 42.1
- [6afc2f85](6afc2f856d) gjs: 1.74.0 → 1.74.1
- [4a42fad0](4a42fad0a5) amtk: 5.5.2 → 5.6.0
- [e94ca86f](e94ca86f39) terraform-providers.baiducloud: 1.17.1 → 1.18.0
- [1824bbfc](1824bbfc34) terraform-providers.bigip: 1.15.2 → 1.16.0
- [f3138b62](f3138b629e) terraform-providers.github: 5.7.0 → 5.8.0
- [51204e7d](51204e7dd0) terraform-providers.alicloud: 1.190.0 → 1.191.0
- [240ccc2d](240ccc2d63) terraform-providers.ksyun: 1.3.56 → 1.3.57
- [dd85f32d](dd85f32ddd) terraform-providers.ibm: 1.47.0 → 1.47.1
- [6f05cdda](6f05cdda61) terraform-providers.checkpoint: remove
- [bbf77421](bbf77421ac) terraform-providers.*: mark broken on darwin
- [d4965f6e](d4965f6ef8) butler: fix darwin build
- [d879bde8](d879bde8fb) python310Packages.aiohttp: 3.8.1 -> 3.8.3
- [0d99e96f](0d99e96fc9) python310Packages.hy: 0.24.0 -> 0.25.0
- [6963a4eb](6963a4eb3c) python310Packages.hyrule: 0.2 -> 0.2.1
- [50d8cda3](50d8cda360) pixman: fix aarch64-darwin by disabling neon
- [148c33b8](148c33b88d) python3Packages.pescea: unbreak on aarch64-linux
- [79a49c2a](79a49c2a66) grafana: 9.2.3 -> 9.2.4
- [28691b90](28691b90fb) wiki-js: 2.5.290 -> 2.5.291
- [f552429c](f552429c80) udpreplay: init at 1.0.0
- [7e12550f](7e12550ff9) tootle: fix build
- [684b0f27](684b0f278a) byacc: 20220128 -> 20221106
- [09c1f816](09c1f816d1) plex: 1.29.1.6316-f4cdfea9c -> 1.29.2.6364-6d72b0cf6
- [ac520c67](ac520c672f) cudatext: 1.175.0 -> 1.176.0
- [0e6cc2bc](0e6cc2bc1d) deno: 1.27.1 -> 1.27.2
- [659dd0ac](659dd0acc8) ffmpeg-normalize: 1.25.2 -> 1.25.3
- [918c0e9f](918c0e9fb5) qogir-theme: 2022-10-16 -> 2022-11-09
- [2df85d0d](2df85d0d5f) qogir-icon-theme: 2022-10-08 -> 2022-11-05
- [f7f94426](f7f9442695) nixos/invoiceplane: Enable clean url
- [8e990037](8e990037ee) allure: 2.20.0 -> 2.20.1
- [7eb3b456](7eb3b45668) dotnet-sdk_3: 3.1.424 -> 3.1.425
- [19185500](19185500dd) dotnet-sdk_6: 6.0.402 -> 6.0.403
- [e0f3fd69](e0f3fd6970) python310Packages.pytenable: 1.4.8 -> 1.4.9
- [9a7c359a](9a7c359a35) ethminer: remove
- [6e6df58a](6e6df58ae3) tremor-rs: 0.11.0 -> 0.12.4
- [aef3d811](aef3d81135) tremor-rs: add happysalada as maintainer
- [523d77cc](523d77cccb) cargo-generate: 0.16.0 -> 0.17.2
- [cc9214ee](cc9214ee8e) rustscan: 2.2.0 -> 2.2.1
- [b1429a1f](b1429a1f70) nitter: patch source version/rev/url into about
- [7ed22692](7ed22692b5) pantheon.elementary-iconbrowser: 2.0.0 -> 2.1.1
- [cc3ea178](cc3ea17877) tetrio-desktop: cleanup, fix GApps wrapping
- [6885cfbb](6885cfbb04) tetrio-desktop: add tetrio-plus option
- [16722903](16722903aa) buildNpmPackage: init
- [cfce957d](cfce957d4f) treewide: more meta changelog urls and mainPrograms ([NixOS/nixpkgs⁠#200062](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/200062))
- [f1221e56](f1221e5630) universal-ctags: Fix for Darwin
- [eb9835c6](eb9835c676) python310Packages.thriftpy2: 0.4.14 -> 0.4.15
- [76a857c7](76a857c71b) hqplayerd: 4.32.4 -> 4.33.0
- [7f290a9d](7f290a9d35) blocky: embed version info ([NixOS/nixpkgs⁠#200215](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/200215))
- [0106a685](0106a68555) root: enable davix and ssl support ([NixOS/nixpkgs⁠#200096](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/200096))
- [6678a7ec](6678a7ecb7) nixos/geoclue2: make system service wait on network-online
- [5d5c6ded](5d5c6ded1a) root: 6.26.06 -> 6.26.08
- [41b48651](41b4865186) home-assistant: relax aiohttp version constraint
- [4e96b348](4e96b3488e) sublime4-dev: 4137 → 4141
- [444a6400](444a64008a) sublime-merge-dev: 2076 → 2078
- [821d9076](821d9076ac) python310Packages.vispy: 0.11.0 -> 0.12.0
- [90fc7b0b](90fc7b0b00) python310Packages.azure-eventgrid: 4.9.0 -> 4.9.1
- [544af659](544af65981) jackett: 0.20.2175 -> 0.20.2225
- [ef527a4a](ef527a4a2b) ardour: 6.9 -> 7.1 ([NixOS/nixpkgs⁠#196290](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/196290))
- [293cbc46](293cbc467d) matrix-synapse-tools.synadm: 0.36 -> 0.37.1
- [27f703b1](27f703b1f8) cudaPackages_11_8: fix missing manifest
- [d474e39f](d474e39f7d) root: fix build on aarch64-darwin
- [e57d0344](e57d034401) joker: 1.0.2 -> 1.1.0
- [e94d54dd](e94d54dd86) build-support/rust/lib: Add `toTargetFamily`
- [ac77d54a](ac77d54ab2) victor-mono: Remove LICENSE.txt
- [255ac994](255ac994b8) nixos/firefox-syncserver: fix setup failure due to duplicate key
- [4ae8ed46](4ae8ed4631) python310Packages.adafruit-platformdetect: 3.32.0 -> 3.33.0
- [d225156c](d225156cde) python310Packages.aiohomekit: 2.2.18 -> 2.2.19
- [e280d067](e280d06774) python310Packages.azure-mgmt-containerservice: 20.6.0 -> 20.7.0
- [4f879376](4f87937601) lychee: 0.10.2 -> 0.10.3
- [3c603ddf](3c603ddf32) vscode: 1.73.0 -> 1.73.1
- [dfe6ea40](dfe6ea4025) tootle: add platforms.linux to meta.platforms
- [0a4dc86f](0a4dc86f05) whitesur-gtk-theme: 2022-08-26 -> 2022-10-27 ([NixOS/nixpkgs⁠#198263](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/198263))
- [d4926fc8](d4926fc87f) vimix-gtk-themes: 2022-04-24 -> 2022-10-30 ([NixOS/nixpkgs⁠#198745](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/198745))
- [c588a77c](c588a77cd5) tela-circle-icon-theme: 2022-03-07 -> 2022-11-06 ([NixOS/nixpkgs⁠#200377](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/200377))
- [43bd6a0e](43bd6a0ee6) python310Packages.bellows: 0.34.2 -> 0.34.3
- [da31bd56](da31bd5673) patchRcPathBash, patchRcPathCsh, patchRcPathFish, patchRcPathPosix: init
- [7f91dec5](7f91dec5dd) root: wrap the executable and patch thisroot.*
- [a664ec27](a664ec27f4) root: add package test test-thisroot
- [6386d793](6386d79326) patchRcPath hooks: use the passthru argument
- [a791afd9](a791afd94c) mmdoc: 0.12.0 -> 0.13.0
- [9bbb7fb6](9bbb7fb635) azure-functions-core-tools: remove jshcmpbll as maintainer
- [2a928587](2a92858765) nixpacks: 0.12.3 -> 0.13.0
- [d4be94cb](d4be94cb82) kics: add version test
- [ae2fd703](ae2fd703e1) terraform-providers.external: 2.2.2 → 2.2.3
- [b4401413](b4401413f7) terraform-providers.hcloud: 1.35.2 → 1.36.0
- [9759793e](9759793e79) terraform-providers.ksyun: 1.3.57 → 1.3.58
- [d1f98aaf](d1f98aaf0e) terraform-providers.ns1: 1.12.8 → 1.13.0
- [cbb048f8](cbb048f8d9) terraform-providers.tencentcloud: 1.78.8 → 1.78.9
- [980b1ab0](980b1ab050) opentelemetry-collector: 0.63.1 -> 0.64.0
- [ab238f2d](ab238f2d81) opentelemetry-collector-contrib: 0.63.0 -> 0.64.0
- [c3616ce8](c3616ce837) 0ad: fix icon install path
- [f680c202](f680c2020f) shards: 0.17.0 -> 0.17.1
- [184023a1](184023a1f9) cotton: fix build on darwin
- [016580f6](016580f6da) python310Packages.azure-eventgrid: update disabled
- [113bfd75](113bfd75d6) gnome.gnome-maps: patch a test failure
- [5ed3812a](5ed3812a9f) octave: enable JSON
- [b89efbd9](b89efbd9a4) mame-tools: init at 0.249
- [d868053b](d868053b40) nixos/doc: formatting improvements
- [891511b6](891511b619) nixos/doc: document mame package changes
- [b2eda582](b2eda58270) mpich: 4.0.2 -> 4.0.3
- [a4e879a5](a4e879a549) spglib/pythonPackages.spglib: 2.0.1 -> 2.0.2
- [0a303bce](0a303bce31) nfs-ganesha: 4.0.8 -> 4.0.12
- [d97cad58](d97cad58c7) snappymail: 2.19.4 -> 2.20.6
- [89e08269](89e08269ef) libsidplayfp: 2.3.1 -> 2.4.0
- [b73781c9](b73781c989) conmon-rs: init at 0.4.0
- [c5668943](c5668943cd) mame: some improvements
- [2c0c029a](2c0c029ae3) awscli2: 2.8.9 -> 2.8.11
- [4cdc5e30](4cdc5e3069) sssd: 2.8.0 -> 2.8.1
- [6a53b035](6a53b035e5) protonvpn-gui: 1.11.0 -> 1.12.0
- [09b4e307](09b4e307bd) sidplayfp: 2.2.3 -> 2.4.0
- [cf0c3024](cf0c30240e) gitRepo: 2.29.5 -> 2.29.9
- [4c799a38](4c799a38b6) netbird: 0.10.6 -> 0.10.7
- [950ee7c3](950ee7c399) phrase-cli: 2.5.3 -> 2.5.4
- [94a6ba6e](94a6ba6e17) highfive: 2.4.1 -> 2.6.1
- [4d2a51e4](4d2a51e4ee) operator-sdk: 1.25.0 -> 1.25.1
- [0533be43](0533be43f1) kics: 1.6.3 -> 1.6.4
- [24658cbd](24658cbd46) coder: 0.12.4 -> 0.12.5
- [ec0c1b24](ec0c1b2479) jc: 1.22.1 -> 1.22.2
- [aa069fc8](aa069fc82b) kafkactl: 3.0.0 -> 3.0.1
- [2c3bd8ed](2c3bd8ed64) ginkgo: 2.4.0 -> 2.5.0
- [4201cff0](4201cff07b) hysteria: 1.2.2 -> 1.3.0

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-11 02:02:56 +00:00
2022-10-25 21:32:25 +01:00
2022-11-05 12:15:22 -03:00
2022-09-03 21:45:31 +01:00

nix-doom-emacs

Status
Build on master Build Status on master
Dependency updater Dependency Updater Status
Matrix Chat Matrix Chat

Nix expression to install and configure doom-emacs.

The expression builds a doom-emacs distribution with dependencies pre-installed based on an existing ~/.doom.d directory.

It is not a fully fledged experience as some dependencies are not installed and some may not be fully compatible as the version available in NixOS or emacs-overlay may not be compatible with the doom-emacs requirements.

Getting started

Using home-manager:

{ pkgs, ... }:

let
  doom-emacs = pkgs.callPackage (builtins.fetchTarball {
    url = https://github.com/nix-community/nix-doom-emacs/archive/master.tar.gz;
  }) {
    doomPrivateDir = ./doom.d;  # Directory containing your config.el init.el
                                # and packages.el files
  };
in {
  home.packages = [ doom-emacs ];
}

./doom.d should contain the following three files: config.el, init.el and packages.el. If you don't already have an existing doom-emacs configuration, you can use the contents of test/doom.d as a template.

Using flake.nix:

{
  inputs = {
    home-manager.url = "github:nix-community/home-manager";
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };

  outputs = {
    self,
    nixpkgs,
    lib,
    home-manager,
    nix-doom-emacs,
    ...
  }: {
    nixosConfigurations.exampleHost = lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        home-manager.nixosModules.home-manager
        ({
          home-manager.users.exampleUser = lib.mkMerge [
            nix-doom-emacs.hmModule
            { ... }: {
              programs.doom-emacs = {
                enable = true;
                doomPrivateDir = ./doom.d;
              };
            }
          ];
        })
      ];
    };
  };
}

Under the hood

This expression leverages nix-straight.el under the hood for installing dependencies. The restrictions of that package apply here too.

Usage

instead of running emacs.d/bin/doom, once you have update your config files (packages.el, init.el, config.el), rebuild doom-emacs with nix. If you are using home-manager, simply run home-manager switch

Troubleshooting

On macOS on a fresh install, you might run into the error Too many files open. running ulimit -S -n 2048 will only work for the duration of your shell and will fix the error

Installing emacs packages

In the initial packages.el instructions for how to install packages can be found. However some packages might require a particular software dependency to be installed. Trying to install those would give you an error of the type: Searching for program: No such file or directory, git (Missing git dependency) Here is how you would go installing magit-delta for example (which requires git).

Under the line: doomPrivateDir = ./doom.d; in your configuration, you would add the following:

{
  emacsPackagesOverlay = self: super: {
     magit-delta = super.magit-delta.overrideAttrs (esuper: {
       buildInputs = esuper.buildInputs ++ [ pkgs.git ];
     });
  };
}

To make the git dependency available. trying to rebuild doom-emacs with home-manager switch should work correctly now.

Using the daemon

To use the daemon, simply enable the emacs service (with NixOS, home-manager or nix-darwin) and use the doom emacs package. doom-emacs will need to be referenced at the top of your config file.

{
  services.emacs = {
    enable = true;
    package = doom-emacs; # Not needed if you're using the Home-Manager module instead
  };
}

to connect to the daemon you can now run emacsclient -c

Description
doom-emacs packaged for Nix [maintainers=@ckiee,@thiagokokada]
Readme MIT 3.3 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%