### Changes for nixpkgs On branch: nixpkgs-unstable Commits:c6a049a3d3...db6e089456
- [57bb3d7e](57bb3d7e7a
) home-assistant: update component-packages.nix - [1d473cf5](1d473cf593
) home-assistant: test totalconnect component - [8e4c6b84](8e4c6b8459
) nushell: 0.32.0 -> 0.33.0 - [4502e7e4](4502e7e46f
) spotify-tui: 0.23.0 -> 0.24.0 - [9ecc9078](9ecc9078cd
) ombi: 4.0.1345 -> 4.0.1430 - [90925dbf](90925dbf68
) linuxPackages.veikk-linux-driver: mark broken for kernels older than 4.19 - [988677d7](988677d741
) python3Packages.upcloud-api: init at 2.0.0 - [e33db522](e33db52206
) home-assistant: update component-packages.nix - [59245deb](59245deb14
) home-assistant: test upcloud component - [a4459504](a4459504c8
) python3Packages.aiomodernforms: init at 0.1.7 - [3f4d568c](3f4d568ccf
) python3Packages.synologydsm-api: init at 1.0.2 - [3a9eeac3](3a9eeac3c1
) home-assistant: update component-packages.nix - [654ca524](654ca52421
) home-assistant: test synology_dsm component - [cb6b93e2](cb6b93e299
) python3Packages.python-juicenet: init at 1.0.2 - [968e0987](968e0987d7
) home-assistant: update component-packages.nix - [c82cb95a](c82cb95a02
) home-assistant: test juicenet component - [177164ba](177164baa7
) jitsi-meet-electron: 2.8.6 -> 2.8.7 ([NixOS/nixpkgs#128259](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128259)) - [f45ccc53](f45ccc532b
) fastd: 21 -> 22 ([NixOS/nixpkgs#128301](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128301)) - [5ea390f6](5ea390f6c0
) fancy-motd: unstable-2021-05-26 -> unstable-2021-06-27 - [a608decd](a608decddc
) python3Packages.forecast-solar: init at 1.3.1 - [a9d36bc6](a9d36bc6fe
) libsForQt5.mauikit: only supports Qt>=5.15 - [dc87cf52](dc87cf5298
) tdesktop: 2.8.0 -> 2.8.1 - [bbd9f938](bbd9f938d4
) tdesktop: Finalize the update script - [4a9f048d](4a9f048d89
) mangohud: 0.6.3 → 0.6.4 - [34131ae7](34131ae728
) stevenblack-blocklist: 3.7.9 -> 3.7.10 - [ada25b1a](ada25b1a98
) bear: 3.0.12 -> 3.0.13 - [e1dc1d6c](e1dc1d6c33
) python3Packages.aiomodernforms: 0.1.7 -> 0.1.8 - [3b9daa68](3b9daa6828
) python3Packages.pyrituals: 0.0.3 -> 0.0.4 - [df7bc169](df7bc16974
) ceph-csi: init at 3.3.1 ([NixOS/nixpkgs#123472](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123472)) - [15fe4be1](15fe4be12b
) pycritty: init at 0.3.5 ([NixOS/nixpkgs#128166](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128166)) - [d67d3710](d67d37104a
) i3status-rust: 0.20.1 -> 0.20.2 - [efe2e4e8](efe2e4e8c2
) pan: fix build and format - [fb81b076](fb81b07672
) python3Packages.pypdf3: init at 1.0.5 - [62bdc511](62bdc5114a
) calibre-web: 0.6.11 -> 0.6.12 - [a06aeca3](a06aeca3bb
) libint: init at 2.6.0 ([NixOS/nixpkgs#128083](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128083)) - [edba9765](edba976506
) wpa_supplicant: allow disabling pcsclite dependency ([NixOS/nixpkgs#128182](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128182)) - [e1d6051d](e1d6051d81
) imagej: reformat expression - [25d22238](25d2223859
) ytmdl: 2021.05.26 -> 2021.06.26 ([NixOS/nixpkgs#128256](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128256)) - [34eb39f1](34eb39f141
) obs-move-transition: 2.3.0 -> 2.4.3 ([NixOS/nixpkgs#128270](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128270)) - [ecb5cd97](ecb5cd972f
) unison: patch 2.51.3 - [07500621](0750062126
) imagej: Add desktop item and icon - [796ae067](796ae067c4
) imagej: 150 -> 153 - [9216c9f1](9216c9f195
) gupnp: 1.2.4 -> 1.2.7 - [6b0a1dfd](6b0a1dfd4c
) epson-escpr2: 1.1.25 -> 1.1.34 - [664d835d](664d835d7e
) ginkgo: 1.16.3 -> 1.16.4 - [29b2c507](29b2c507b8
) goreleaser: 0.168.0 -> 0.172.0 - [d4ae1277](d4ae12779a
) gpg-tui: 0.6.0 -> 0.6.1 - [b16dbf99](b16dbf99b6
) hyprspace: 0.1.4 -> 0.1.5 - [dcbc0954](dcbc095441
) home-assistant: requires setuptools - [572c9219](572c9219ad
) wio:0.0.0+unstable=2021-06-01 -> 0.0.0+unstable=2021-06-27 - [74281b9f](74281b9faa
) globalprotect-vpn: add missing 'mkIf cfg.enable' - [31487e43](31487e434b
) bochs: refactor and prepare it for next release - [110a85fd](110a85fd36
) distrobuilder: 2019_10_07 -> 1.2 - [83c72771](83c7277190
) python3Packages.lmnotify: init at 0.0.4 - [23e3724a](23e3724a11
) home-assistant: update component-packages.nix - [875e4abc](875e4abc7d
) vsce/asciidoctor.asciidoctor-vscode: init at 2.8.9 - [e13f126c](e13f126c4b
) python3Packages.geopandas: 0.8.1 → 0.9.0 - [5b2824b9](5b2824b9e2
) matomo: 4.2.1 -> 4.3.1 - [3f50543e](3f50543e34
) neovide: enable wayland usage without xwayland - [5550614a](5550614aba
) python3Packages.pytibber: 0.17.1 -> 0.18.0 - [4f3bc6aa](4f3bc6aa7f
) ocamlPackages.utop: 2.7.0 → 2.8.0 - [5ca20c29](5ca20c29fa
) wireless-regdb: 2020.04.29 -> 2021.04.21 - [e8905779](e89057790a
) nix-direnv: 1.2.6 -> 1.4.0 - [9fdc5e10](9fdc5e10ee
) smlnj: fix x86_64-darwin build - [4a4fc6c9](4a4fc6c9c9
) smlnjBootstrap: move dependents over to regular smlnj - [1c450db3](1c450db3cc
) yq: fix build - [2b41f19f](2b41f19f79
) volk: 2.4.1 -> 2.5.0 - [124bbaf3](124bbaf311
) lsp-plugins: 1.1.26 -> 1.1.30 ([NixOS/nixpkgs#128330](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128330)) - [c15d6f57](c15d6f570c
) python3Packages.lmnotify: update description - [5698f711](5698f71177
) python3Packages.pysyncthru: init at 0.7.3 - [45c5ead5](45c5ead53c
) home-assistant: update component-packages.nix - [49d03473](49d0347312
) home-assistant: test syncthru component - [a3d04338](a3d043387f
) nixos/tests/home-assistant: don't test package - [4502f74f](4502f74f29
) chuck: 1.4.0.1 -> 1.4.1.0 - [ee8bdde2](ee8bdde2ce
) emacs.pkgs.ebuild-mode: init at 1.52 - [78df2079](78df2079fc
) python3Packages.starline: init at 0.1.5 - [831807d6](831807d65a
) home-assistant: update component-packages.nix - [0e6f2e22](0e6f2e2201
) home-assistant: test starline component - [568ca861](568ca86168
) dpdk: make myself maintainer - [24da5909](24da590943
) python3Packages.srpenergy: init at 1.3.2 - [12fd96ae](12fd96ae06
) home-assistant: update component-packages.nix - [6b21275e](6b21275e58
) home-assistant: test srp_energy component - [25eb4871](25eb4871de
) polkadot: 0.9.6 -> 0.9.7 - [254a1f32](254a1f32a6
) libsForQt5.kimageformats: fix build after libavif update - [7286fc29](7286fc29c5
) qutebrowser: 2.2.3 -> 2.3.0 - [98336c22](98336c223b
) pkgs-lib: allow paths in TOML, YAML and JSON - [3a30f526](3a30f52676
) nixos/nginx: fix typo - [aee94b09](aee94b0981
) scream: 3.6 -> 3.7 - [3bccd612](3bccd612d3
) openring: unstable-2021-04-03 -> unstable-2021-06-28 - [6edeec2b](6edeec2b73
) python3Packages.trezor: patch for updated dep - [3864c36b](3864c36b79
) tdesktop: 2.8.1 -> 2.8.3 - [367a53a8](367a53a82b
) linux_5_13: init at 5.13 - [2ced8f24](2ced8f2455
) checkstyle: 8.43 -> 8.44 - [a8c0b777](a8c0b77793
) volk: remove unused argument - [6fe65621](6fe6562177
) go-minimock: 3.0.8 -> 3.0.9 - [b3beccf6](b3beccf679
) kodiPackages.inputstream-adaptive: 2.6.16 -> 2.6.17 - [3b77eb17](3b77eb1734
) fluent-bit: 1.7.6 -> 1.7.9 - [87f2fe53](87f2fe5366
) fuzzel: 1.5.4 -> 1.6.0 - [886c38ab](886c38abb8
) gophernotes: 0.7.2 -> 0.7.3 - [f1413d34](f1413d34e9
) cargo-flash: 0.10.1 -> 0.11.0 - [a54553ef](a54553eff6
) volk: fix darwin build - [d71d7ece](d71d7ecef1
) tinc_pre: 1.1pre17 -> 1.1pre18 - [2b0ad115](2b0ad115b2
) esbuild: 0.12.9 -> 0.12.11 - [7f07b70d](7f07b70d08
) Revert "writers: Allow string paths" - [b9317c2a](b9317c2afe
) python3Packages.hstspreload: 2021.6.21 -> 2021.6.28 - [56d11e14](56d11e1467
) gupnp: revert [NixOS/nixpkgs#128448](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128448) ([NixOS/nixpkgs#128543](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128543)) - [b3839774](b383977471
) python3Packages.python-songpal: init at 0.13 - [1c4bcfc5](1c4bcfc593
) home-assistant: update component-packages.nix - [7a8ca2b1](7a8ca2b1f5
) home-assistant: test songpal component - [5dcfdb5b](5dcfdb5bd6
) restique: init at unstable-2021-05-03 - [775e849b](775e849b0c
) gpg-tui: 0.6.1 -> 0.6.2 - [0dccbe27](0dccbe2729
) nixos/tests/kernel-generic: fix evaluation - [0432fe10](0432fe1034
) hugo: 0.84.1 -> 0.84.2 - [447e75a2](447e75a24c
) imgproxy: 2.16.4 -> 2.16.5 - [40db7836](40db7836fe
) k9s: 0.24.10 -> 0.24.11 - [6b06737e](6b06737e5a
) katago: 1.8.2 -> 1.9.0 - [13034ba7](13034ba77a
) mimalloc: 2.0.0 -> 2.0.2 - [58e6fa61](58e6fa615a
) mimalloc: make use of MI_INSTALL_TOPLEVEL - [89400633](89400633b9
) mimalloc: revert doCheck enable - [2820afa6](2820afa6f6
) gxemul: 0.6.2 -> 0.7.0 - [16fbc036](16fbc036ef
) snort: 2.9.16.1 -> 2.9.18 ([NixOS/nixpkgs#128580](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128580)) - [55dcd998](55dcd99859
) root: use pure CoreSymbolication on Darwin - [0616d2a4](0616d2a463
) blueberry: 1.4.3 -> 1.4.4 - [f717dcaf](f717dcafbf
) avocode: 4.14.3 -> 4.15.0 - [c805959f](c805959fbc
) texlive: drop unused "fetch&unpack" derivations ([NixOS/nixpkgs#126982](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/126982)) - [8b7e73dd](8b7e73ddb0
) cbonsai: 1.2.0 -> 1.2.1 - [233e6c45](233e6c455b
) cri-o-unwrapped: 1.21.0 -> 1.21.1 - [8ad7f248](8ad7f2487e
) ocamlPackages.ppxlib: 0.22.0 → 0.22.2 - [a7260e81](a7260e81fc
) gnuradio: 3.9.1.0 -> 3.9.2.0 - [c8d0af7c](c8d0af7cff
) gnuradio3_8: 3.8.3.0 -> 3.8.3.1 - [64f45f1c](64f45f1cf6
) gpg-tui: fix build on Darwin - [be766447](be76644735
) coqPackages.semantics: init - [cca08690](cca0869015
) openmpi: re-enable fortran on aarch64-darwin - [fcdcb819](fcdcb81936
) chromiumDev: Fix build errors due to the older system FFmpeg - [e4552975](e4552975fe
) intel-gmmlib: 21.1.3 -> 21.2.1 - [96f9da08](96f9da0808
) python3Packages.sonarr: init at 0.3.0 - [94d8b2dc](94d8b2dcb2
) home-assistant: update component-packages.nix - [4bb462b8](4bb462b8f8
) home-assistant: test sonarr component - [67641dc3](67641dc31a
) exfatprogs: init at 1.1.2 - [a0fbb879](a0fbb879d8
) macchina: 0.8.21 -> 0.9.2 - [db1ee4e1](db1ee4e1f8
) python3Packages.smarthab: init at 0.21 - [b1d184de](b1d184deeb
) home-assistant: update component-packages.nix - [f5d90899](f5d90899d4
) home-assistant: test smarthab component - [99d3252b](99d3252b18
) ocamlPackages.stringext: 1.4.0 -> 1.6.0 ([NixOS/nixpkgs#128598](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128598))
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