### Changes for nixpkgs On branch: nixpkgs-unstable Commits:1882c6b736...19574af0af
- [989f47d4](989f47d49e
) nodePackages: update - [973855b8](973855b843
) nodePackages."@google/clasp": init at 2.4.1 - [61cce0f2](61cce0f23c
) google-clasp: use nodePackages."@google/clasp" - [e9015499](e9015499e0
) python3Packages.jax: 0.2.28 -> 0.3.0 - [d81549cd](d81549cd38
) python3Packages.jaxlib-bin: 0.1.75 -> 0.3.0 - [e663c602](e663c60265
) python3Packages.jaxlib: 0.1.75 -> 0.3.0 - [c1c60661](c1c6066185
) hplip: 3.20.11 -> 3.21.12 - [90f0f3b5](90f0f3b580
) zprint: 1.2.1 -> 1.2.2 - [c90a20d3](c90a20d38e
) delta: 0.11.3 -> 0.12.0 - [372ecbed](372ecbede0
) tela-icon-theme: 2021-12-25 -> 2022-01-25 - [a023ae01](a023ae01cc
) python3Packages.findimports: init at 2.2.0 - [75a3c2b9](75a3c2b9ee
) circup: init at 1.0.3 - [1624b989](1624b98993
) taoup: 1.1.14 -> 1.1.16 - [acfd0f66](acfd0f66fa
) plexamp: 3.9.1 -> 4.0.0 - [46dd7f68](46dd7f68f3
) amazon-qldb-shell: init at 2.0.0 - [0806fcb9](0806fcb901
) fig2dev: Set platforms to unix - [0ee46299](0ee4629994
) fig2dev: Enable transfig binary - [e8f39149](e8f3914985
) treewide: Replace transfig with fig2dev - [12f6d0d3](12f6d0d3a0
) transfig: Remove package, replaced with fig2dev - [099fefbc](099fefbceb
) jmol: 14.32.6 -> 14.32.21 - [507b23f0](507b23f0d1
) chemtool: Set platforms to linux - [2b986027](2b986027a4
) python310Packages.mypy-boto3-s3: 1.20.49 -> 1.21.0 - [8668f940](8668f940c5
) boost: refine assertion requiring pth support in clang ([NixOS/nixpkgs#159990](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/159990)) - [16298a93](16298a931e
) alejandra: unstable-2022-02-12 -> 0.1.0 - [27d8498e](27d8498eee
) xf86_input_wacom: 0.40.0 -> 1.0.0 - [3a641def](3a641defd1
) terraform-providers: update 2022-02-14 - [46a77c08](46a77c0812
) python310Packages.google-cloud-bigquery-datatransfer: 3.5.0 -> 3.6.0 - [592c073a](592c073afd
) maintainers: add aaronjheng - [0fb241ed](0fb241ed2e
) janus-gateway: 0.11.7 -> 0.11.8 - [da9c48b2](da9c48b2cf
) python310Packages.pyowm: 3.2.0 -> 3.3.0 - [6f9cf70a](6f9cf70a48
) jc: 1.18.2 -> 1.18.3 - [7c08af79](7c08af790f
) podman-tui: init at 0.1.0 - [1eebfebd](1eebfebda5
) python310Packages.jdatetime: 3.8.2 -> 4.0.0 - [4c129894](4c1298943b
) dupeguru: 4.0.4 -> 4.1.1 - [90270592](902705927a
) maintainers: update @novoxd github login - [e61b18ba](e61b18babd
) Partial revert of 12f343da4c2 - [7c09dc2d](7c09dc2d8a
) ocamlPackages.pprint: 20171003 → 20220103 - [0c66a2f3](0c66a2f30d
) archivebox: refactor and fix - [ee88cb92](ee88cb928d
) python310Packages.sense-energy: 0.10.1 -> 0.10.2 - [152dd4c8](152dd4c81d
) nixos/kubernetes: Update deprecated scheduler opts - [18d9d660](18d9d6600d
) python310Packages.flux-led: 0.28.25 -> 0.28.26 - [ff3bfb76](ff3bfb7608
) python3Packages.pyowm: add format - [8a439961](8a43996124
) gotop: 4.1.2 -> 4.1.3 - [c70f92b7](c70f92b77a
) python3Packages.mypy-boto3-s3: add format - [498e2d92](498e2d92a9
) python3Packages.intellifire4py: 0.9.7 -> 0.9.8 - [555e7133](555e713356
) gradle: 7.3.3 -> 7.4 - [f7e01145](f7e01145af
) gradle: Update hashes of dependents for 7.4 - [20052b80](20052b805c
) checkov: 2.0.842 -> 2.0.845 - [876cd6bc](876cd6bcc2
) coq: misc - [a99b6b80](a99b6b8070
) python310Packages.google-cloud-container: 2.10.3 -> 2.10.4 - [9a867982](9a8679821b
) cargo-deny: 0.11.2 -> 0.11.3 - [05c6180b](05c6180b5f
) vimPlugins.rest-nvim: init at 2022-01-26 - [6067bd6a](6067bd6a2e
) gnome.gnome-initial-setup: 41.2 -> 41.4 - [62d4c5bd](62d4c5bd20
) python3Packages.identify: 2.4.9 -> 2.4.10 - [860c78fd](860c78fd14
) lens: 5.2.6 -> 5.3.4 - [5492d782](5492d78236
) python3Packages.pynndescent: add pythonImportsCheck - [facaf233](facaf23362
) python3Packages.nose2: add pythonImportsCheck - [aaa9586c](aaa9586c1a
) montserrat: 7.210 -> 7.222 - [e571aac1](e571aac18e
) python3Packages.autarco: init at 0.1.0 - [7f2880d9](7f2880d976
) python3Packages.p1monitor: update supported Python releases - [6e6c0b08](6e6c0b086d
) python3Packages.eiswarnung: init at 1.0.0 - [b9ca8734](b9ca873473
) python3Packages.net2grid: init at 2.0.0 - [36e6f399](36e6f39984
) pkcs11helper: 1.27 -> 1.28 - [19f52c38](19f52c3818
) pyqt5_sip: init at 12.9.1 - [38afa0bd](38afa0bd75
) hplip: Fix missing pyqt5_sip module - [d055f486](d055f48602
) dupeguru: Use pyqt5_sip from python3.pkgs - [760e49ae](760e49aece
) gnome.gnome-maps: 41.2 -> 41.4 - [dc4a2782](dc4a27829e
) gandom-fonts: 0.6 -> 0.8 - [966006a0](966006a0ac
) ofono: 1.33 -> 1.34 - [5aa283f0](5aa283f01c
) python3Packages.asyncwhois: 0.4.1 -> 1.0.0 - [07c953ae](07c953ae72
) orca: 41.1 -> 41.2 - [771f110d](771f110d9c
) php74Extensions.blackfire: 1.72.0 -> 1.74.0 - [ae6b8cf9](ae6b8cf9b3
) elmPackages: restore positions, use makeScope, cleanup - [86e32988](86e3298840
) git-lfs: 3.0.2 -> 3.1.1 - [8144bd30](8144bd3050
) Fix: provide right python version instead of patching source - [7c521003](7c5210039b
) gnome.gnome-todo: unstable-2022-01-01 -> unstable-2022-02-01 - [e2856ed1](e2856ed17f
) mdcat: 0.26.0 -> 0.26.1 - [2a82287c](2a82287cf1
) libindicator: rename name to pname&version ([NixOS/nixpkgs#160010](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/160010)) - [27c3711a](27c3711a5f
) gitstatus: 1.5.3 -> 1.5.4 - [5096ad4c](5096ad4c49
) perlPackages.HashStoredIterator: init at 0.008 - [b103bca9](b103bca977
) python3Packages.emv: relax pycountry constraint - [691fc707](691fc7077e
) gallery-dl: 1.20.4 -> 1.20.5 - [fb7eab6a](fb7eab6ac8
) vscode-extensions: retry if the marketplace API closes the connection unexpected - [3723fec5](3723fec53b
) yq-go: 4.19.1 -> 4.20.1 - [60799b8e](60799b8ef5
) python3Packages.dendropy: disable failing test - [3d713efe](3d713efe41
) nixos/switch-to-configuration: avoid Array::Compare dependency - [10cf978c](10cf978c5b
) icecat-bin: drop - [9e0b3c02](9e0b3c024f
) cl-wordle: 0.2.0 -> 0.4.0 - [2606caad](2606caade9
) python3Packages.pyquil: 3.0.1 -> 3.1.0 - [54f2fb8c](54f2fb8ce1
) python3Packages.cirq-rigetti: relax dependency constraints - [cc7c06cc](cc7c06cc0a
) lilv: add dev output - [72e32989](72e329890a
) lilv: add pipewire test - [9f7d08df](9f7d08df91
) tailwind: add support for plugins - [7f949060](7f94906083
) formula: init at 2.0 - [73ba387f](73ba387fc1
) zbar: enable parallel building - [c3f2886c](c3f2886c79
) semver-tool: 3.2.0 -> 3.3.0 - [7ff1fdfc](7ff1fdfc78
) opencbm: 0.4.99.103 -> 0.4.99.104 - [cac31887](cac3188706
) gh: 2.5.0 -> 2.5.1 - [7a632f5c](7a632f5c1d
) fpp: 0.9.2 -> 0.9.5 - [42c09098](42c0909848
) nixos/home-assistant: move module into home-automation category - [5aabba49](5aabba490e
) nixos/home-assistant: update default package example - [82f0df4d](82f0df4d68
) home-assistant: drop patch that ignores OSErrors in hass fixture - [9896247f](9896247fb6
) nixos/home-assistant: Wait for network-online.target - [05640ec1](05640ec19d
) nixos/tests/home-assistant: add comments & reformat - [2c19ae1e](2c19ae1e4d
) plocate: 1.1.14 -> 1.1.15 - [59a367bc](59a367bcab
) nixos/home-assistant: convert to rfc42 style settings - [4a0b964b](4a0b964b34
) nixos/home-assistant: add extraComponents option - [4b47eaee](4b47eaee4d
) nixos/tests/home-assistant: test module-based component loading - [13faa004](13faa004b6
) nixos/home-assistant: add extraPackages option - [918100f4](918100f48f
) nixos/home-assistant: Wait for {mysql,postgresql}.service - [191fb818](191fb818e6
) nixos/tests/home-assistant: test module-based package loading - [2f644fd3](2f644fd3e6
) nixos/home-assistant: add rpi_power component by default on arm - [c1d20422](c1d2042219
) home-assistant: clean up preStart - [3f8ddef9](3f8ddef902
) home-assistant: expose installed extraPackages and extraComponents - [32bd0aaf](32bd0aafab
) nixos/tests/home-assistant: test package and components passing - [e7793302](e77933024d
) haveged: 1.9.15 -> 1.9.17 - [9dee6cdb](9dee6cdb29
) snarkos: 2.0.1 -> 2.0.2 ([NixOS/nixpkgs#160227](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/160227)) - [4bfaf285](4bfaf28537
) tex.dblatex: remove legacy `? null` and assert Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
nix-doom-emacs
Status | |
---|---|
Build on master |
|
Build on develop |
|
Dependency updater |
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:rycee/home-manager";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.exampleUser = { pkgs, ... }: {
imports = [ 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; # use programs.emacs.package instead if using home-manager
}
to connect to the daemon you can now run emacsclient -c