### Changes for nixpkgs On branch: nixpkgs-unstable Commits:46821ea01c...f3d9d4bd89
- [79e607c3](79e607c351
) electron: mark versions <= 12 as EOL - [bb08b954](bb08b95456
) gthree: mark as broken on darwin - [3b151fce](3b151fcec8
) hidrd: mark as broken on darwin - [63971d1f](63971d1fda
) nixos/ddclient: don't chown secrets until dynamicuser issue is resolved - [079205c6](079205c6f9
) maintainers: add derekcollison - [84ca2001](84ca20017b
) pythonPackages.pscript: init at 0.7.6 - [4f44ede4](4f44ede48e
) pythonPackages.itemdb: init at 1.1.1 - [e9d1e53c](e9d1e53c6e
) pythonPackages.asgineer: init at 0.8.1 - [a2a43df9](a2a43df955
) timetagger: init at 21.11.2 - [f3eaf668](f3eaf66882
) Add service module for timetagger - [a24dc8d2](a24dc8d2ef
) timetagger: Use default value for package option - [87419823](87419823ad
) pythonPackages.asgineer: Add test inputs - [6304e619](6304e619bc
) pythonPackages.timetagger: Add test inputs - [b90efe70](b90efe7088
) pythonPackages.pscript: Add test inputs - [1f10b043](1f10b0434f
) timetagger: Make enable option with mkOption - [65aaf4e2](65aaf4e22d
) Add timetagger to release notes - [ab58c31e](ab58c31ecb
) pythonPackages.timetagger: 21.11.2 -> 22.1.2 - [003ed52f](003ed52fd1
) python3Packages.exchangelib: 4.6.2 -> 4.7.0 - [0c0b0905](0c0b0905e7
) python3Packages.consonance: 0.1.3 -> 0.1.5 - [97851190](9785119050
) libzim: 7.0.0 -> 7.1.0 - [d2c90ae4](d2c90ae47f
) libplctag: 2.4.8 -> 2.4.10 - [ba8ec8bf](ba8ec8bf86
) jwt-cli: 5.0.0 -> 5.0.1 - [cfbcb36a](cfbcb36a86
) python3Packages.grandalf: 0.6 -> 0.7 - [9042e83c](9042e83cff
) python.pkgs.roboschool: mark as removed - [499c06a1](499c06a14f
) flameshot: 0.10.2 -> 11.0.0 - [4c3a07ff](4c3a07ffe0
) firefox: 96.0 -> 96.0.1 - [570e93c2](570e93c25e
) firefox-bin: 96.0 -> 96.0.1 - [6639cd8c](6639cd8c65
) sgx-ssl: don't run test app in `installCheckPhase` - [e8a7b9cd](e8a7b9cd20
) v2ray-domain-list-community: 20211228022859 -> 20220114024213 - [79b8a3e2](79b8a3e263
) blink1-tool: 1.98a -> 2.2.0 - [80cb7d89](80cb7d891b
) arkade: 0.8.11 -> 0.8.12 - [6c3e84d2](6c3e84d2cb
) python3Packages.shtab: init at 1.5.3 - [581861a7](581861a7c0
) python3Packages.flatten-dict: init at 0.4.2 - [8a1cb86e](8a1cb86eb9
) python3Packages.dictdiffer: init at 0.9.0 - [c2526743](c2526743dd
) lunatic: 0.7.0 -> 0.7.4 - [5c8d6d6c](5c8d6d6cee
) doc: fix broken link - [5c401b54](5c401b5442
) python3Packages.scmrepo: init at 0.0.7 - [c34b7c01](c34b7c0102
) libxls: fix cross-compilation - [9ff6000a](9ff6000a29
) python3Packages.aiohttp-retry: init at 2.5.6 - [3469429c](3469429c39
) prosody: remove outdated passthrough test reference - [8b77b0ca](8b77b0ca84
) python3Packages.mailchecker: init at 4.1.8 - [03f587e5](03f587e526
) python3Packages.python-fsutil: init at 0.5.0 - [688cbf96](688cbf9696
) python3Packages.python-benedict: init at 0.24.3 - [15087b82](15087b8272
) dvc: 0.24.3 -> 2.9.3 - [731db182](731db1820d
) pythonInterpreters.pypy27_prebuilt: 7.3.3 -> 7.3.6 - [2ced686d](2ced686d5b
) pythonInterpreters.pypy38_prebuilt: 7.3.6 -> 7.3.7 - [60dec7aa](60dec7aa31
) telescope: 0.7 -> 0.7.1 - [3f9ced9a](3f9ced9a62
) swayidle: 1.7 -> 1.7.1 - [75d417c2](75d417c267
) nixos/dokuwiki: Drop deprecated old interface ([NixOS/nixpkgs#152676](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/152676)) - [814c0ee7](814c0ee73e
) CODEOWNERS: Add entries for a few Matrix-related applications - [892a9971](892a9971b0
) signal-desktop: Fix "Failed to load GLES library: libGLESv2.so.2" - [d654246e](d654246e6a
) mimeo: 2021.2 -> 2021.11 - [3d1b5e73](3d1b5e732b
) intel-media-driver: 22.1.0 -> 22.1.1 - [f3516813](f3516813d8
) thermald: disable network access - [2cb556b6](2cb556b610
) argocd: 2.2.1 -> 2.2.2 ([NixOS/nixpkgs#154369](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/154369)) - [9b394d9d](9b394d9dbf
) fceux: 2.5.0 -> 2.6.0 - [23e1f0d0](23e1f0d013
) python310Packages.tatsu: Fix the build - [be7e5971](be7e597173
) lightly-qt: init at 0.4.1 - [b0d472b8](b0d472b8e7
) Fix styling - [3db46978](3db469781a
) Update pkgs/data/themes/lightly-qt/default.nix - [57c9949a](57c9949a64
) license: gpl2Plus - [610b8b22](610b8b2210
) Cleanup: Factor out lib for metadata - [12098119](12098119d9
) python2Packages.pyyaml: init at 5.4.1.1 - [bb888535](bb88853516
) skawarePackages: fix llvm build - [b648a474](b648a4742e
) skawarePackages.buildPackage: reformat with nixpkgs-fmt - [0c7342b6](0c7342b6e7
) horizon-eda: 2.1.0 -> 2.2.0 - [4a94071f](4a94071fb3
) mkgmap: 4836 -> 4855 - [1794554a](1794554a9a
) gnuradio: 3.9 -> 3.10 - [31f069f7](31f069f779
) dictu: 0.22.0 -> 0.23.0 - [d5dae656](d5dae6569e
) webdis: 0.1.16 -> 0.1.19 - [dbda4fc2](dbda4fc20c
) gnuradio.pkgs.grnet: disable for GR 3.10 - [d21fa199](d21fa199ae
) gnuradio.pkgs: Remove redundent null attributes - [08232177](0823217739
) gnuradio3_8.pkgs.osmosdr: 0.2.2 -> 0.2.3 - [ca74d2fa](ca74d2faaa
) nats-server: 2.6.3 -> 2.7.0 - [1e4664e1](1e4664e1a0
) betaflight-configurator: 10.7.1 -> 10.7.2 - [89ddab6c](89ddab6c82
) cloudflared: 2021.12.3 -> 2022.1.2 - [d8062c34](d8062c345d
) colima: 0.3.1 -> 0.3.2 - [1bc66cb8](1bc66cb842
) nerdctl: 0.15.0 -> 0.16.0 - [3ee20629](3ee206291a
) linux: enable BPF_UNPRIV_DEFAULT_OFF between 5.10 and 5.15 - [9dcc01f0](9dcc01f0f5
) python38Packages.scikits-odes: 2.6.2 -> 2.6.3 - [f4ef2647](f4ef264724
) polymc: init at 1.0.4 - [155f3153](155f315319
) multimc: document replacement - [6cb5b31d](6cb5b31dc4
) home-assistant: prune overrides - [6054fb82](6054fb82d5
) python3Packages.rpi-bad-power: init at 0.1.0 - [c2ab1f23](c2ab1f2380
) python38Packages.cx_Freeze: 6.8.4 -> 6.9 - [cca85c7c](cca85c7c3d
) tailscale: 1.18.2 -> 1.20.1 - [61265ec0](61265ec0b4
) home-assistant: outsource component tests - [1f71224f](1f71224fe8
) nixos/modules/rename: Sort alphabetically - [6c67bfc9](6c67bfc986
) cde-gtk-theme: drop - [802f80b5](802f80b50c
) pyrex, pyrex096, pyrex095: drop - [33df2ffa](33df2ffa0a
) blink: drop - [78bc359e](78bc359e03
) python2Packages.cjson: drop - [dda538b1](dda538b172
) renpy: drop - [5d0261b4](5d0261b438
) curaByDagoma: drop - [4a1da0be](4a1da0bed9
) neap: drop - [608cde3b](608cde3bd4
) metamorphose2: drop - [369db3b2](369db3b2f3
) mailpile, nixos/mailpile: drop - [492e5e07](492e5e07c9
) lumpy: drop - [878c9204](878c920437
) gdal: use python3 - [33610bfe](33610bfeca
) gitinspector: drop - [6bcbf84f](6bcbf84fb1
) git-crecord: 20161216.0 -> 20201025.0 - [b8594d2b](b8594d2b00
) opae: use python3 - [88b69dbc](88b69dbcbc
) quickder: use python3 - [9cdd711a](9cdd711a66
) systemtap: use python3 - [fa0e52a9](fa0e52a918
) vigra: use python3 - [308e8396](308e8396b7
) ino: drop - [0a29b6bc](0a29b6bcd1
) getmail: drop - [03ddc5b2](03ddc5b295
) mididings: drop - [3c0752db](3c0752dbe0
) displaycal: drop - [8afa8e93](8afa8e93b4
) python3Packages.rasterio: drop gdal_2 pin - [554616d5](554616d5ed
) python3Packages.fiona: drop gdal_2 pin - [867b8e21](867b8e2188
) minecraft-server: package major versions - [63c488bf](63c488bf3b
) minecraft-server: add jyooru as maintainer - [e0843a80](e0843a80e2
) minecraft-server: fix using latest jre for all minecraft server versions - [b254d2b1](b254d2b1fe
) minecraftServers: init - move all minecraft-server versions into minecraftServers - [d5744cff](d5744cffdc
) abcmidi: 2021.12.12 -> 2022.01.13 - [cef5f8db](cef5f8dba6
) notion-app-enhanced: 2.0.16-5 -> 2.0.18-1 - [e24c1567](e24c1567a6
) i3lock-blur: mark as broken on darwin - [3c7e78cc](3c7e78cc6a
) keycloak service: ordering for CLI script - [827267a2](827267a27f
) keycloak service: update HTTPS configuration - [a42abe27](a42abe27c0
) keycloak service: use 'attrsOf anything' for extraConfig - [3cef3028](3cef3028c2
) python3Packages.drf-jwt: 1.19.1 -> 1.19.2 - [1b5158c4](1b5158c4bc
) python3Packages.greeclimate: 1.0.1 -> 1.0.2 - [d83a1a48](d83a1a4846
) python3Packages.pikepdf: 4.3.0 -> 4.3.1 - [1f858b31](1f858b31c6
) python3Packages.pyhiveapi: 0.4.3 -> 0.4.6 - [ec01395f](ec01395f81
) python3Packages.sentry-sdk: 1.5.1 -> 1.5.2 - [134fa81d](134fa81d6d
) python3Packages.pywayland: 0.4.7 -> 0.4.8 - [6a0de2a2](6a0de2a2f2
) python3Packages.mlflow: Fix broken package - [84f70eef](84f70eefd1
) keycloak service: add themes support - [97a0cf62](97a0cf62f0
) keycloak service: allow to set empty frontend URL - [5ec497a2](5ec497a248
) python38Packages.pytelegrambotapi: 4.2.1 -> 4.3.0 - [c4777aeb](c4777aeb99
) python38Packages.sagemaker: 2.70.0 -> 2.72.2 - [2f99db6b](2f99db6b3e
) python38Packages.pyatv: 0.9.7 -> 0.9.8 - [209326c6](209326c600
) pythonPackages.python-miio: 0.5.9.1 -> 0.5.9.2 - [08e95726](08e9572677
) python38Packages.pybotvac: 0.0.22 -> 0.0.23 - [9cf1c7c4](9cf1c7c4a7
) python38Packages.transformers: 4.12.5 -> 4.15.0 - [0a780fe3](0a780fe392
) python38Packages.irc: 19.0.1 -> 20.0.0 - [7c1d6cfb](7c1d6cfb95
) gnuradio3_7: remove - [8c946f4b](8c946f4baa
) python38Packages.sopel: 7.1.6 -> 7.1.7 - [979e54b0](979e54b0ea
) doit: 0.33.1 -> 0.34.0 - [629605c2](629605c2ac
) python3Packages.bimmer-connected: 0.8.7 -> 0.8.10 - [f92cb93d](f92cb93d5f
) python3Packages.meshtastic: 1.2.54 -> 1.2.56 - [226586e5](226586e569
) python3Packages.mitogen: 0.3.0 -> 0.3.2 - [bbf10ee6](bbf10ee6a8
) krita: 5.0.0 -> 5.0.2 - [2027fb60](2027fb600d
) alot: application instead of python library - [ae18d68b](ae18d68b6b
) python2.pkgs: move expressions into python2-modules/ folder - [ea222b17](ea222b17d1
) python-modules: remove unused secretstorage/2.nix - [470fdb30](470fdb307a
) python36Packages.ipython: remove - [4bf9e61a](4bf9e61a76
) python3Packages.pytest_5: remove - [d63c752b](d63c752b00
) python3Packages.graph-tool: rename file - [6652fefd](6652fefdab
) timeline: use newer wxPython - [f0996f2d](f0996f2d22
) python3Packages.pyrogram: 1.3.1 -> 1.3.5 - [fb9ce2d9](fb9ce2d9f2
) python3Packages.sense-energy: 0.9.3 -> 0.9.4 - [a8affa91](a8affa912c
) chromium: Backport important fixes for Wayland 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