### Changes for nixpkgs On branch: nixpkgs-unstable Commits:c0e8818520...21264a9367
- [b6c315b4](b6c315b4fb
) geogebra6: 6_0_620_0 -> 6_0_631_0 - [153c2c07](153c2c07e1
) python3Packages.awesomeversion: 21.2.3 -> 21.4.0 - [e2f43869](e2f4386944
) home-assistant: allow later awesomeversion releases - [512211b7](512211b788
) fioctl: 0.14.1 -> 0.15 ([NixOS/nixpkgs#118623](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118623)) - [b3a18f4d](b3a18f4daf
) pythonPackages.fipy: 3.4.1 -> 3.4.2.1 ([NixOS/nixpkgs#116567](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/116567)) - [d9424d21](d9424d2191
) appimagekit: 2018-07-27 -> 2020-12-31 ([NixOS/nixpkgs#116501](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/116501)) - [e24c7ffc](e24c7ffc02
) nerdctl: 0.7.2 -> 0.7.3 - [7dab7289](7dab72898d
) python3Packages.botocore: 1.20.41 -> 1.20.45 - [03ceb942](03ceb942f1
) python3Packages.boto3: 1.17.41 -> 1.17.45 - [413e9561](413e9561f8
) sbt: 1.4.9 -> 1.5.0 - [2e19cbff](2e19cbffd9
) awscli: 1.19.41 -> 1.19.45 - [72a0c461](72a0c461bd
) python3Packages.sagemaker: 2.32.0 -> 2.33.0 - [24d8a914](24d8a91494
) oh-my-zsh: 2021-03-31 → 2021-04-06 - [c9caaac0](c9caaac034
) trilium: 0.46.6 -> 0.46.7 - [f53bd124](f53bd12416
) python3Packages.holidays: 0.10.5.2 -> 0.11.1 - [57ced143](57ced14370
) input-fonts: make Nix download the source - [b0372cef](b0372cefc4
) connman: set sysconfdir to /etc - [9fa74cc5](9fa74cc53e
) python3Packages.pytube: 10.6.1 -> 10.7.1 - [71c4f6c2](71c4f6c24b
) vimPlugins.glow-nvim: set branch to main - [deed0b38](deed0b3813
) vimPlugins: update - [95411fe9](95411fe906
) vimPlugins.vim-clap: updated cargoSha256 - [f142c40b](f142c40b35
) vimPlugins.jellybeans-nvim: init at 2021-04-05 - [fbebdfe9](fbebdfe9f1
) vimPlugins.rust-tools-nvim: init at 2021-04-06 - [f1b7ee84](f1b7ee849d
) appgate-sdp: add missing xdg-utils - [1ca880a2](1ca880a228
) flatpak: fix flatpak-spawn --clear-env - [a05293a9](a05293a93c
) libplacebo: 3.120.0 -> 3.120.1 ([NixOS/nixpkgs#118677](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118677)) - [2cf150ab](2cf150ab8c
) packer: 1.7.1 -> 1.7.2 - [ed913db2](ed913db260
) font-manager: 0.7.9 -> 0.8.5-1 - [7ed8d11d](7ed8d11dc4
) ruby_3_0: 3.0.0 -> 3.0.1 - [f7ff8747](f7ff874701
) nixos/greetd: Add greetd module ([NixOS/nixpkgs#118294](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118294)) - [396d9982](396d9982a5
) nodePackages_(gatsby-cli: init at 3.2.0, fleek-cli: init at 0.0.1) - [38d65f2d](38d65f2dc2
) fzf: 0.26.0 -> 0.27.0 - [e6670194](e66701943d
) kube3d: 4.4.0 -> 4.4.1 - [e595d747](e595d747c7
) pcloud: 1.8.9 -> 1.9.1 - [48a2307d](48a2307da5
) antsimulator: init at 1.2 - [17030137](17030137a7
) vimPlugins: add taskwiki - [e289a280](e289a280f3
) pyspread: fix build and simplify expression ([NixOS/nixpkgs#117906](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117906)) - [e2756c59](e2756c5900
) pyspread: 1.99.5 -> 1.99.6 - [e6a9df05](e6a9df050a
) umoci: 0.4.6 -> 0.4.7 - [551f1dac](551f1dac03
) xorg.xf86inputlibinput: 0.30.0 -> 1.0.0 - [a32d1794](a32d17941f
) snapcast: v0.23.0 -> v0.24.0 - [0e31f097](0e31f09774
) maintainers/team: add home-assistant team - [dc845834](dc84583452
) home-assistant: Move maintainership to home-assistant team - [df34ff2a](df34ff2a7b
) appdaemon: remove peterhoeg from maintainers - [4cb48cc2](4cb48cc256
) indilib: set platform to linux ([NixOS/nixpkgs#118696](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118696)) - [9f78dd4a](9f78dd4a1c
) fetchzip: accept urls - [36c50a6f](36c50a6f48
) paratype-pt-*: convert url -> urls - [435fe3da](435fe3dab2
) sublime: url => urls - [ddf47958](ddf4795824
) nixos/pomerium: fix useACMEHost - [386fc750](386fc750e0
) adguardhome: 0.104.3 -> 0.105.2 - [8dd8ee44](8dd8ee4487
) buildbot: 3.0.2 -> 3.1.0 - [5df9c14c](5df9c14cee
) nomachine-client: 7.2.3 -> 7.4.1 - [29363442](29363442f5
) dino: fix compilation under new Vala - [3b81abba](3b81abba55
) youtube-dl: 2021.04.01 -> 2021.04.07 - [e0d8f6b1](e0d8f6b183
) nixos/gitlab: do not set backup.upload by default - [4decd156](4decd156ea
) rkdeveloptool: unstable-2019-07-01 -> unstable-2021-02-03, fix build ([NixOS/nixpkgs#118707](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118707)) - [8daf0ced](8daf0cedee
) betterdiscord-installer: init at 1.0.0-beta ([NixOS/nixpkgs#118471](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118471)) - [a0408312](a0408312e8
) krankerl: init at 0.13.0 ([NixOS/nixpkgs#118582](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118582)) - [de679c57](de679c57ca
) rclone: build with 'cmount' support ([NixOS/nixpkgs#117119](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117119)) - [63e7c418](63e7c4186f
) dockerTools.streamLayeredImage: Add test for fakeRootCommands - [6d49bb23](6d49bb239f
) python3Packages.transitions: 0.8.7 -> 0.8.8 - [ba6577f8](ba6577f8cb
) nodejs: 15.13.0 -> 15.14.0 - [32a5b44b](32a5b44b8d
) nixos/samba: remove bad example for "securityType" option - [3660d282](3660d282ac
) Revert "python3Packages.bokeh: 2.2.3 -> 2.3.0" - [caf9668c](caf9668c8b
) ginkgo: 1.16.0 -> 1.16.1 - [99fd96f6](99fd96f6a8
) pythonPackages.bokeh: add comment to update together with panel - [ab79e890](ab79e89081
) zigbee2mqtt: add upgrade warning - [f94c84f8](f94c84f844
) pipewire: 0.3.24 -> 0.3.25 - [8030a8f4](8030a8f456
) home-assistant: enable cast tests - [e3c239fa](e3c239fa55
) gi-docgen: fix patch URL - [d4a5b28e](d4a5b28e3d
) noisetorch: 0.9.0 -> 0.10.1 - [8a5bae4e](8a5bae4ef8
) bitwig-studio: 3.3.6 -> 3.3.7 - [a9053b68](a9053b6870
) gitkraken: 7.5.3 -> 7.5.4 - [b9ef51a8](b9ef51a84b
) services.tailscale: add openresolv to path - [b85dd813](b85dd8136e
) home-assistant: error out if enabled component test does not exist - [d63226c5](d63226c50d
) oh-my-zsh: 2021-04-06 → 2021-04-07 - [5452be4b](5452be4bc6
) sbt-extras: 2021-03-29 → 2021-04-06 - [5e504f87](5e504f87a8
) jenkins: 2.277.1 → 2.277.2 - [56345127](563451277f
) fish: 3.2.1 -> 3.2.2 - [55ddc94d](55ddc94d92
) ocamlPackages.ocamlnet: 4.1.8 → 4.1.9 - [e66af6a6](e66af6a67e
) reason: 3.6.2 → 3.7.0 - [cc6d25b0](cc6d25b0d3
) ocamlPackages.merlin-extend: use Dune 2 - [03bd054f](03bd054f24
) terraform_0_14: 0.14.9 -> 0.14.10 - [2ea305ee](2ea305eeb0
) wesnoth: 1.14.15 -> 1.14.16 - [7b36a1ad](7b36a1ad09
) pythonPackages.fido2: 0.8.1 -> 0.9.1 - [0e489fbc](0e489fbc97
) python3Packages.aws-adfs: loosen fido2 version constraint - [c1c43413](c1c43413d6
) python3Packages.solo-python: mark package as broken - [1072da3e](1072da3e3e
) yubikey-manager: 3.1.2 -> 4.0.1 - [0ff4e2a6](0ff4e2a618
) pythonPackages.makefun: init at 1.11.2 - [042b7059](042b7059c5
) yubikey-manager: run tests - [cf42b2eb](cf42b2eb0f
) ocamlPackages.sqlite3: use Dune 2 - [34da7899](34da7899c5
) pythonPackages.ronin: init at 1.1.1 - [321f4d54](321f4d54f0
) python3Packages.botocore: 1.20.45 -> 1.20.46 - [608bb089](608bb089e9
) python3Packages.boto3: 1.17.45 -> 1.17.46 - [5152bc83](5152bc8337
) awscli: 1.19.45 -> 1.19.46 - [a4c701e7](a4c701e7e3
) python3Packages.gdown: fix build, add missing six dep - [141ece8f](141ece8fe2
) python3Packages.requests-aws4auth: fix build, add missing six dep - [547cbbe6](547cbbe6a4
) python3Packages.ec2instanceconnectcli: fix build, add missing cryptography dep - [730eabb1](730eabb12a
) zabbix: drop 3.0.32 which is no longer supported by upstream - [61ec2162](61ec21622b
) zabbix: 4.0.29 -> 4.0.30 - [eabeeb79](eabeeb79ef
) zabbix: 5.0.9 -> 5.0.10 - [9b30cda2](9b30cda2f6
) gitlab: 13.9.4 -> 13.10.2 - [9c529802](9c529802fa
) linux_xanmod: 5.11.10 -> 5.11.12 - [7485b524](7485b524dd
) yaru-theme: 20.10.6.1 -> 21.04.1 - [54db6aaf](54db6aaf6e
) python3Packages.wakeonlan: 1.1.6 -> 2.0.0 - [61f566d4](61f566d45b
) python3Packages.pytest-raises: init at 0.11 - [4a238865](4a23886536
) python3Packages.async-dns: init at 1.1.9 - [eca0abfd](eca0abfd50
) python3Packages.aiodiscover: init at 1.3.2 - [529811dd](529811ddcb
) python3Packages.screenlogicpy: init at 0.3.0 - [c33772a7](c33772a781
) python3Packages.yalexs: init at 1.1.10 - [712ab79a](712ab79af5
) python3Packages.pubnub: 4.8.0 -> 5.1.1 - [7e1a972b](7e1a972bc0
) python3Packages.homepluscontrol: init at 0.0.5 - [8a17db4c](8a17db4c8a
) qcad: 3.26.0.1 -> 3.26.1.0 ([NixOS/nixpkgs#118397](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118397)) - [d9ed5352](d9ed5352d7
) nodepy-runtime: init at 2.1.5 - [1e52d002](1e52d002bb
) qgroundcontrol: 4.1.1 -> 4.1.2 - [90691042](90691042af
) libcap: fix static build - [394315de](394315def1
) x264: fix static build - [e0213764](e0213764e7
) cue: 0.2.2 -> 0.3.0 - [2bc413b9](2bc413b970
) gradle: Add 7-rc-2, leave latest pointing at 6.8 ([NixOS/nixpkgs#117462](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117462)) - [aeb4a2b5](aeb4a2b5e6
) kube3d: correct the k3sVersion to be inline with upstream - [26ab1672](26ab167218
) python3Packages.xknx: 0.17.5 -> 0.18.0 - [a20d2680](a20d26806f
) python38Packages.internetarchive: 1.9.9 -> 2.0.2 ([NixOS/nixpkgs#118779](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118779)) - [35aca2ba](35aca2bada
) gitlab: add back GITLAB_WORKHORSE_VERSION - [3d19bc03](3d19bc0352
) plex: 1.22.1.4275 -> 1.22.2.4284 - [004584d3](004584d3b6
) go_1_15: 1.15.10 -> 1.15.11 - [82f9b63f](82f9b63f70
) python3Packages.pysmappee: 0.2.18 -> 0.2.23 - [ff5ff66e](ff5ff66ef3
) build-rust-crate: disable incremental builds - [81829ece](81829ece77
) devilutionx: unstable-2020-10-20 -> 1.2.0 - [9741a4b3](9741a4b3b4
) x264: flatten configureFlags ([NixOS/nixpkgs#118789](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118789)) - [21ef17ec](21ef17ec44
) maintainers: add riey - [6bf4e6b2](6bf4e6b230
) cargo-feature: init at 0.5.2 - [9decc936](9decc936e3
) topgrade: 6.7.0 -> 6.8.0 - [2fca2fcb](2fca2fcb22
) teleport: wrap tsh with xdg-utils - [db3e568d](db3e568d98
) teleport: 5.1.2 -> 5.2.1 - [5db7e33f](5db7e33f1d
) python3Packages.awslambdaric: init at 1.0.0 ([NixOS/nixpkgs#118771](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/118771)) - [c6d4dae3](c6d4dae35d
) treewide: fix eval without aliases after 9378fdf87e0626e8c63a90a378c38444ff54808b
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