### Changes for nixpkgs On branch: nixpkgs-unstable Commits:cd0ffd3f5f...f4c4ddae04
- [7427bed0](7427bed05a
) catgirl: 1.6 -> 1.7 - [d7564b07](d7564b07c8
) tpm2-tools: remove nested wrappers - [e47e2a1b](e47e2a1b9f
) init duckling service - [45995d8d](45995d8d9e
) cargo-outdated: 0.9.14 -> 0.9.15 - [c5e8b048](c5e8b0486a
) kodelife: 0.9.0.129 -> 0.9.8.143 - [c14bf3fc](c14bf3fcc1
) libcint: 4.1.1 -> 4.3.0 - [878a2ec6](878a2ec6d5
) python3Packages.mido: convert to pytestCheckHook, add pythonImportsCheck - [4d7527e0](4d7527e00a
) python3Packages.mido: remove myself from maintainers - [57569ea9](57569ea9d0
) python3Packages.rtmidi-python: remove myself from maintainers - [6fbe7f1b](6fbe7f1bbb
) tockloader: 1.5.0 -> 1.6.0 - [e0d04447](e0d0444717
) tockloader: remove myself from maintainers - [056eb56f](056eb56f77
) pijul: 1.0.0-alpha.46 -> 1.0.0-alpha.48 - [3931eace](3931eaceab
) air: 1.27.2 -> 1.27.3 - [e340874c](e340874c85
) nvidia_x11.legacy_390: 390.138 -> 390.143 ([NixOS/nixpkgs#120857](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120857)) - [cf9bf19b](cf9bf19bf3
) oathToolkit: 2.6.2 -> 2.6.6 ([NixOS/nixpkgs#120610](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120610)) - [7e47f02d](7e47f02dcc
) khal: 0.10.2 -> 0.10.3 - [754c14f1](754c14f16b
) discord: Remove tadeokondrak as maintainer - [c287776d](c287776d9e
) ffms: 2.23 -> 2.40 - [16c8941c](16c8941c13
) python3Packages.pyu2f: 0.1.4 -> 0.1.5a - [a4749b11](a4749b11d4
) nixos/kresd.package: improve the generated docs - [32cb3382](32cb3382e5
) elan: 0.11.0 -> 1.0.0 - [a48b4f40](a48b4f4088
) openmpi: 4.1.0 -> 4.1.1 - [a053eae5](a053eae561
) ethminer: provide a CUDA-free version - [101e5cdc](101e5cdceb
) ethminer: use regular stdenv when CUDA isn't used - [7787089f](7787089f1d
) ethminer: mark cuda version as broken - [3c678b70](3c678b7098
) ethminer: correct license - [8723d226](8723d226b4
) nixos/mastodon: update SystemCallFilters - [78813c32](78813c327c
) sd-switch: 0.2.0 -> 0.2.1 - [a1b136ef](a1b136eff3
) kube-capacity: 0.5.1 -> 0.6.0 - [38c75ad0](38c75ad02d
) python3Packages.async-upnp-client: 0.16.0 -> 0.16.2 - [625ef89a](625ef89a22
) python3Packages.clldutils: 3.7.0 -> 3.8.0 - [be086387](be0863874b
) python3Packages.deepmerge: 0.2.1 -> 0.3.0 - [9913c2be](9913c2be57
) python3Packages.sacn: 1.6.2 -> 1.6.4 - [dacb5ba2](dacb5ba294
) janet: 1.15.4 -> 1.15.5 - [55e8cc00](55e8cc0058
) calcurse: 4.7.0 -> 4.7.1 - [51d128cf](51d128cf17
) humioctl: 0.28.2 -> 0.28.3 - [d3e48342](d3e48342a3
) gitui: 0.14.0 -> 0.15.0 - [2ba5086b](2ba5086bdb
) open-policy-agent: 0.27.1 -> 0.28.0 - [3b4d4564](3b4d456465
) buf: 0.40.0 -> 0.41.0 - [f1b5b746](f1b5b74617
) belr: 4.5.1 -> 4.5.3 - [b5b575d2](b5b575d276
) bpytop: 1.0.63 -> 1.0.64 - [7566f5ed](7566f5ed5f
) i3wsr: 2.0.0 -> 2.0.1 - [a338775b](a338775b63
) checkstyle: 8.41.1 -> 8.42 - [360bf6eb](360bf6eb36
) flyctl: 0.0.210 -> 0.0.211 - [a4b2de83](a4b2de8382
) python3Packages.ffmpeg-progress-yield: init at 0.0.4 - [5965c9e3](5965c9e368
) ffmpeg-normalize: 1.19.0 -> 1.22.1 - [11c2459f](11c2459f17
) ssl-cert-check: 3.31 -> 4.14 - [3516b568](3516b56859
) joker: 0.16.0 -> 0.17.1 - [c90bb6bb](c90bb6bbf1
) aws-nuke: 2.14.0 -> 2.15.0 - [347df466](347df4662c
) enlightenment.evisum: 0.5.11 -> 0.5.13 - [e424c911](e424c9118b
) seaweedfs: add version check passthru.tests - [ab9c6c95](ab9c6c9529
) eksctl: 0.41.0 -> 0.46.0 - [60ed2dee](60ed2deee5
) openblas: Allow setting DYNAMIC_ARCH - [88dbd594](88dbd594c8
) mldonkey: 3.1.6 -> 3.1.7-2 - [19916afe](19916afe1d
) mldonkey: remove byte code support - [98b372b8](98b372b860
) nginxQuic: 47a43b011dec -> 12f18e0bca09 - [b3efb612](b3efb61263
) bpytop: remove unused input - [a0b0f994](a0b0f99458
) julia: drop julia_13 as it lacks support upstream - [2632a336](2632a33605
) julia: clean up grammar for deprecated aliases - [fc3c17c5](fc3c17c5ac
) julia: introduce LTS and stable aliases - [0f3096d0](0f3096d039
) julia: deprecate julia_1 alias - [a4f2b97a](a4f2b97a24
) julia: enable parallel building - [d5171337](d51713378b
) julia: make the LTS release the default version - [4c97cf82](4c97cf823f
) julia: remove redundant Nix-specific mtime patch - [59266357](5926635765
) julia: remove redundant diagonal test patch - [75a93dfe](75a93dfecc
) julia: move patches into separate directories - [e633d97c](e633d97cb3
) julia: remove julia_15 update script - [5167e034](5167e0347c
) julia: sort arguments in top-level package collection - [dd88dcee](dd88dcee62
) julia: add README - [1437eee5](1437eee5bb
) coqPackages.paramcoq: enable for Coq 8.13 - [5c5ec0bf](5c5ec0bff6
) maiko: init at 2021-04-14 - [14f66d60](14f66d60a7
) Make the bootsrap respect the contentAddressedByDefault setting - [377bda4b](377bda4b75
) erlang: 23.3.1 -> 23.3.2 - [e6ce32f7](e6ce32f743
) xdg-desktop-portal-wlr: 0.2.0 -> 0.3.0 - [4105c06b](4105c06bf3
) Also make the bootstrap tools generation CA - [8e87d34a](8e87d34abc
) kgt: init at 2021-04-07 - [6b14de16](6b14de1622
) opensmtpd: set --with-path-pidfile - [af943018](af9430180e
) broot: 1.2.9 -> 1.3.0 - [51729ed3](51729ed349
) broot: remove stale substitute - [bb3d2fcd](bb3d2fcd32
) gpxsee: 8.9 -> 9.0 - [5e2bfae1](5e2bfae1b8
) gitlab: 13.10.2 -> 13.11.2 ([NixOS/nixpkgs#120947](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120947)) - [d67443c7](d67443c742
) hwinfo: 21.72 -> 21.73 - [125bbf07](125bbf0752
) linux: 4.14.230 -> 4.14.231 - [c38311d1](c38311d1f6
) linux: 4.19.187 -> 4.19.188 - [fde3ac0f](fde3ac0f8e
) linux: 4.4.266 -> 4.4.267 - [1904447d](1904447d73
) linux: 4.9.266 -> 4.9.267 - [e77d44c1](e77d44c103
) linux: 5.10.30 -> 5.10.32 - [079fca15](079fca1541
) linux: 5.11.14 -> 5.11.16 - [81ef99ec](81ef99ec75
) linux: 5.4.112 -> 5.4.114 - [d70dced4](d70dced4fe
) linux-rt_5_10: 5.10.27-rt36 -> 5.10.30-rt37 - [c6963522](c6963522e0
) linux-rt: Avoid RCs - [2e7331db](2e7331db4c
) linux-rt_5_4: 5.4.106-rt54 -> 5.4.109-rt56 - [b3e42ffe](b3e42ffea1
) linux/hardened/patches/4.14: 4.14.230-hardened1 -> 4.14.231-hardened1 - [00aa9ee2](00aa9ee2b4
) linux/hardened/patches/4.19: 4.19.187-hardened1 -> 4.19.188-hardened1 - [f99496d3](f99496d321
) linux/hardened/patches/5.10: 5.10.30-hardened1 -> 5.10.31-hardened1 - [9d47acdb](9d47acdbc8
) linux/hardened/patches/5.11: 5.11.14-hardened1 -> 5.11.15-hardened1 - [8ee8d6e6](8ee8d6e61e
) linux/hardened/patches/5.4: 5.4.112-hardened1 -> 5.4.113-hardened1 - [4611413e](4611413ec6
) linux/hardened/patches/5.10: 5.10.31-hardened1 -> 5.10.32-hardened1 - [69984bd0](69984bd056
) linux/hardened/patches/5.11: 5.11.15-hardened1 -> 5.11.16-hardened1 - [e1af1d1f](e1af1d1f81
) linux/hardened/patches/5.4: 5.4.113-hardened1 -> 5.4.114-hardened1 - [10d24382](10d24382cd
) python3.pkgs.signedjson: fix build ([NixOS/nixpkgs#120669](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120669)) - [5ba2e4e9](5ba2e4e9c6
) .github/workflows/editorconfig.yml: switch to pull_request_target - [9078c509](9078c50982
) pythonPackages.sip_5: add `platform_tag` attribute - [1a58aec6](1a58aec6a2
) haproxy: 2.3.7 -> 2.3.10 - [dba77f4f](dba77f4fd0
) maintainers: add V - [dab21732](dab2173285
) last-resort: init at 13.001 - [b21d1ae8](b21d1ae872
) jre_minimal: add 2 simple tests - [de5a69c9](de5a69c918
) nixos/promtail: Set TimeoutStopSec=10 - [b753f7a4](b753f7a49d
) mailspring: fix build - [6189cc82](6189cc82b5
) carla: remove ffmpeg as dependency - [8813edcc](8813edcc64
) pythonModules.Nuitka: 0.6.8.4 -> 0.6.14.5 - [716d1769](716d176974
) chromiumBeta: 91.0.4472.19 -> 91.0.4472.27 - [111ab7f7](111ab7f7b6
) ffuf: 1.3.0 -> 1.3.1 - [81e1e68e](81e1e68eaf
) lib.trivial.warnIf: init - [a8afbb45](a8afbb45c1
) treewide: use lib.warnIf where appropriate - [4c879a65](4c879a6557
) gdu: 4.11.0 -> 4.11.1 - [71b18809](71b18809a4
) python3Packages.twitterapi: 2.7.2 -> 2.7.3 - [f1e27171](f1e271714b
) fishplugins.forgit-fish: rename fishplugins.forgit - [a946e4c5](a946e4c558
) fishplugins.forgit: fix dependency linking - [495c7d37](495c7d377f
) python3Packages.clevercsv: 0.6.7 -> 0.6.8 - [cfa0a577](cfa0a57765
) Add which-key-nvim ([NixOS/nixpkgs#121092](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/121092)) - [ce93de4f](ce93de4f62
) nixos/hyperv: bail gracefully if device is missing - [84b65960](84b6596098
) bind: 9.16.13 -> 9.16.15 - [6d23cfd5](6d23cfd56b
) nixos/pcscd: fix [NixOS/nixpkgs#121088](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/121088) - [ce3e0d8a](ce3e0d8a2d
) python3.pkgs.django_extensions: 3.1.1 -> 3.1.3 - [2d79945d](2d79945d1c
) himalaya: 0.2.7 -> 0.3.0 - [e99e9f2d](e99e9f2d47
) elan: 1.0.0 -> 1.0.2 - [cec25e93](cec25e93b6
) belcard: 4.5.1 -> 4.5.3 - [6acafb97](6acafb97e5
) cheat: 4.2.0 -> 4.2.1 - [b9029fd7](b9029fd72c
) highlight: 3.60 -> 4.0 - [ab091a88](ab091a887c
) groonga: 11.0.0 -> 11.0.1 - [51220778](5122077801
) gmsh: 4.8.1 -> 4.8.3 - [f456d423](f456d42386
) gpsprune: 20.2 -> 20.3 - [ba13dc06](ba13dc0652
) nixos/prometheus: add unbound exporter - [da858b16](da858b16b8
) nixos/tests/prometheus-exporters: add unbound test - [d3fe53a8](d3fe53a8a6
) nixos/tests/prometheus-exporters: nixpkgs-fmt - [147439c5](147439c5f0
) diffoscope: 171 -> 172 - [7859860c](7859860c5a
) haruna: 0.6.2 -> 0.6.3 - [77a270f8](77a270f871
) freeciv: 2.6.3 -> 2.6.4 - [6067cfcc](6067cfccc6
) fuzzel: 1.5.1 -> 1.5.3 - [085a70f7](085a70f717
) xplr: 0.5.7 -> 0.5.10 - [b79d1b51](b79d1b517d
) cvs_fast_export: 1.55 -> 1.56 - [1cb3d84c](1cb3d84c6a
) hikari: 2.2.2 -> 2.3.0 - [7ecb53ac](7ecb53ac5b
) bslizr: 1.2.12 -> 1.2.14 - [1c65a509](1c65a509fb
) dico: 2.10 -> 2.11 - [cc6e48c8](cc6e48c8ba
) coqPackages.coqeal: 1.0.4 → 1.0.5 - [d51942f9](d51942f9ec
) python3Packages.zha-quirks: 0.0.56 -> 0.0.57 - [1a3b58e7](1a3b58e760
) python3Packages.hatasmota: 0.2.10 -> 0.2.11 - [77485293](77485293df
) pythonPackages.xlsx2csv: fix homepage - [f6cc83eb](f6cc83eb75
) python3Packages.yalexs: 1.1.10 -> 1.1.11 - [7b7dacca](7b7dacca89
) python3Packages.screenlogicpy: 0.3.0 -> 0.4.1 - [4ec3123b](4ec3123b82
) python3Packages.screenlogicpy: enable tests - [a2ee0a2d](a2ee0a2d27
) python3Packages.pydeconz: 78 -> 79 - [0e0c0a90](0e0c0a904d
) python3Packages.pysmappee: 0.2.23 -> 0.2.24 - [c809b48b](c809b48b2f
) python3Packages.aiorecollect: 1.0.3 -> 1.0.4 - [315d14d8](315d14d819
) python3Packages.pyairvisual: 5.0.7 -> 5.0.8 - [b3d2e6c7](b3d2e6c7ea
) python3Packages.pysma: 0.4.1 -> 0.4.3 - [a670f921](a670f92186
) get_iplayer: 3.24 -> 3.27 ([NixOS/nixpkgs#120863](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120863)) - [1d801e63](1d801e6338
) python3Packages.python-smarttub: 0.0.23 -> 0.0.24 - [e337e136](e337e136dd
) wf-config: 0.7.0 -> 0.7.1; enable tests - [6fb54f49](6fb54f49c5
) wayfire: 0.7.0 -> 0.7.1 - [2bd34a98](2bd34a98af
) tdesktop: 2.7.1 -> 2.7.4 ([NixOS/nixpkgs#120994](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120994)) - [5b7a76e2](5b7a76e2a6
) jmol: 14.31.35 -> 14.31.36 - [25bbad96](25bbad9616
) doctest: 2.4.4 -> 2.4.6
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/vlaci/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 ];
home.file.".emacs.d/init.el".text = ''
(load "default.el")
'';
}
./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:vlaci/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