github-actions[bot] d4ecde6d1f flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - b05d2077 -> 7f65e4ab (#50)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: b05d2077eb...7f65e4abd5

- [899778e8](899778e8cf) tev: 1.19 -> 1.22
- [12c26aca](12c26aca1f) prometheus.exporters.smartctl: Fix autodiscovery
- [a68c4e1d](a68c4e1d28) nextcloud-client: 3.4.1 -> 3.4.2
- [c1e2f122](c1e2f12203) haskellPackages: mark builds failing on hydra as broken
- [8e7c58dc](8e7c58dc44) poppler: 21.06.1 → 22.01.0
- [490b9b0f](490b9b0fa0) poppler-data: clean up
- [c4b98513](c4b9851332) inkscape: fix build with Poppler 21.11.0
- [a18bad9b](a18bad9ba3) kodi.packages.controller-topology-project: init at unstable-2022-01-22
- [d8bcc674](d8bcc674c4) gdal: fix build with latest poppler
- [46c42753](46c427535a) scribusUnstable: fix build with latest poppler
- [7ec99ea7](7ec99ea7cf) qt5.qtwebkit: add disambiguate handle for darwin ([NixOS/nixpkgs⁠#156809](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/156809))
- [956dab36](956dab36a3) nextcloud: use tmpfiles to create group-readable home
- [683d5696](683d5696e3) varnish70: 7.0.1 -> 7.0.2
- [cf2bdd29](cf2bdd298b) varnish60: 6.0.9 -> 6.0.10
- [4dc70faa](4dc70faa6f) twa: 1.9.1 -> 1.10.0
- [eeb0e220](eeb0e220cd) signal-desktop: 5.29.0 -> 5.29.1
- [13b987ab](13b987abce) linode-cli: 5.14.0 -> 5.15.0
- [fa7b83fa](fa7b83fa48) python3Packages.objax: fix tensorboard dependency ([NixOS/nixpkgs⁠#156909](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/156909))
- [846fafa6](846fafa68e) lighttpd: 1.4.63 -> 1.4.64
- [4e8deff9](4e8deff9c8) spot: 0.3.0 -> 0.3.1
- [eff0fc08](eff0fc087c) python310Packages.sagemaker: 2.73.0 -> 2.74.0
- [1b121393](1b12139305) python39Packages.mautrix: 0.14.5 -> 0.14.6
- [f329ced6](f329ced6f2) python310Packages.sqlite-utils: 3.22 -> 3.22.1
- [8909cf13](8909cf13be) python310Packages.azure-mgmt-applicationinsights: 2.0.0 -> 2.1.0
- [f8c8a891](f8c8a8918a) flatpak-builder: 1.2.0 -> 1.2.2
- [1387fd0f](1387fd0fd1) keepalived: 2.2.4 -> 2.2.7
- [617d557d](617d557d3b) gnome-2048: init at 3.38.2
- [6c2acb04](6c2acb04c2) python3Packages.dm-haiku: jaxlib is a test dependency
- [501df061](501df061ed) python3Packages.jmp: jaxlib is a test dependency
- [97a90b8d](97a90b8d6f) python3Packages.treeo: jaxlib is a test dependency
- [9d9a54ad](9d9a54adea) python3Packages.elegy: jaxlib belongs in buildInputs
- [c674a64c](c674a64ce6) python3Packages.flax: jaxlib belongs in buildInputs
- [236bab3f](236bab3f1f) python3Packages.optax: jaxlib belongs in buildInputs
- [93f88be7](93f88be7d1) python3Packages.treex: jaxlib belongs in buildInputs
- [68e9cd0f](68e9cd0f7e) nixos/lib: Use SingleLineStr in systemd description
- [7a76b746](7a76b746d3) impressive: remove
- [de5bdb94](de5bdb94f3) softether_4_25: drop
- [725d843c](725d843cc8) flatpak: 1.12.2 -> 1.12.4
- [37ca422c](37ca422c73) libosmium: 2.17.2 -> 2.17.3
- [e533f9d3](e533f9d3b2) breitbandmessung: throw later for unsupported systems
- [d9e21f28](d9e21f2843) smooth: 0.9.8 -> 0.9.9
- [b0b0ffd4](b0b0ffd466) chromiumBeta: 98.0.4758.66 -> 98.0.4758.74
- [fef09da9](fef09da997) lighttpd: add patch to fix build on darwin x86_64
- [54cbee8d](54cbee8d97) root: tweak wrapping flags for auxiliary programs, avoid forcing CMAKE_CXX_STANDARD ([NixOS/nixpkgs⁠#157069](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/157069))
- [b56e79f0](b56e79f0bd) vorta: 0.8.2 -> 0.8.3
- [268157dc](268157dc83) nixos/nix-daemon: fix buildMachines eval
- [e684a831](e684a83103) reaper: 6.43 -> 6.46
- [a175820f](a175820f63) pokerth, pokerth-server: pin to boost16x to fix build
- [16a14fbc](16a14fbc13) thunderbird-unwrapped: 91.5.0 -> 91.5.1
- [4b4f7e12](4b4f7e12cd) vault: 1.9.2 -> 1.9.3
- [40057471](40057471f2) kdiff3: 1.8.5 -> 1.9.4
- [c2d49ebb](c2d49ebbaa) python310Packages.aioesphomeapi: 10.8.0 -> 10.8.1
- [8804d87b](8804d87bd3) tailscale: 1.20.2 -> 1.20.3
- [5bb20f9d](5bb20f9dc7) mandown: init at 0.1.3
- [8e660e42](8e660e42f6) libesmtp: 1.0.6 -> 1.1.0
- [2c0b4b85](2c0b4b8510) dpdk: restore rte_kni module build
- [5aa4697a](5aa4697af4) dpdk: split examples, wrap dpdk-devbind
- [c053bd3a](c053bd3a4b) bundler: 2.2.24 -> 2.3.6
- [86d7f2d5](86d7f2d5e1) linuxPackages.amdgpu-pro: fix build
- [5253f848](5253f848dd) python310Packages.types-futures: 3.3.7 -> 3.3.8
- [37df4305](37df4305c6) polymc: 1.0.4 -> 1.0.6
- [a9ebd6de](a9ebd6decf) dart: 2.14.3 -> 2.15.1
- [a3690228](a36902286e) yq-go: 4.17.2 -> 4.18.1
- [36bea6f5](36bea6f5f8) darktable: set lua version in all-packages.nix
- [36a038ca](36a038ca52) python310Packages.pyweatherflowrest: 1.0.7 -> 1.0.8
- [63a65f2d](63a65f2d1a) macdylibbundler: 1.0.0 -> 1.0.4
- [d6fba22f](d6fba22f2a) deno: 1.18.0 -> 1.18.1
- [99deb1c4](99deb1c418) podman-compose: available on all unix platforms
- [07029944](07029944a5) river: make XWayland support optional ([NixOS/nixpkgs⁠#157002](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/157002))
- [ee09ef8e](ee09ef8e61) sile: 0.12.1 → 0.12.2
- [067201c3](067201c3cc) linux_testing-bcachefs: 2021-12-26 -> 2022-01-12
- [3f81985d](3f81985d74) bcachefs-tools: 2021-12-25 -> 2022-01-12
- [c397e3b4](c397e3b4cb) nmap: use included liblinear to fix static build
- [51f76a11](51f76a1119) xplayer: fix the build
- [5efc8ca9](5efc8ca954) h: 1.0.0 -> 1.0.3 ([NixOS/nixpkgs⁠#156966](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/156966))
- [628ea398](628ea398d8) agate: 3.1.0 -> 3.2.2
- [70574630](70574630ca) laminar: 1.1 -> 1.2
- [d4ecaf69](d4ecaf699e) glib: correct update script
- [cc44eb98](cc44eb9806) link-grammar: 5.9.1 -> 5.10.2
- [0700dde6](0700dde63b) php74Extensions.blackfire: 1.71.0 -> 1.72.0
- [e9c56180](e9c56180a6) jadx: 1.3.1 -> 1.3.2
- [80ec92d5](80ec92d55a) openrgb: add desktop icon
- [da637a36](da637a3624) python310Packages.httpagentparser: 1.9.1 -> 1.9.2
- [0646cd48](0646cd4821) python310Packages.types-decorator: 5.1.3 -> 5.1.4
- [929a256b](929a256be4) perlPackages.CPANChecksums: 2.12 -> 2.14
- [5911f67c](5911f67c52) python310Packages.svglib: 1.2.0 -> 1.2.1
- [066a7a30](066a7a3091) python310Packages.chiavdf: 1.0.4 -> 1.0.5
- [6db3ef22](6db3ef2228) python310Packages.pymazda: 0.3.1 -> 0.3.2
- [50b04db0](50b04db0c0) python310Packages.aioconsole: 0.3.3 -> 0.4.0
- [fb6b8ffb](fb6b8ffbca) python310Packages.jdatetime: 3.8.1 -> 3.8.2
- [71557df5](71557df592) telepresence2: 2.4.9 -> 2.4.10
- [614a3c32](614a3c3229) python310Packages.pony: 0.7.15rc1 -> 0.7.16
- [13c3d9f5](13c3d9f5c8) python310Packages.trimesh: 3.9.42 -> 3.9.43
- [0b2eb3e2](0b2eb3e2a6) vips: 8.12.1 -> 8.12.2
- [c707c3ab](c707c3ab3e) python3Packages.meshtastic: 1.2.76 -> 1.2.77
- [f07cd03e](f07cd03ead) python3Packages.importlab: init at 0.7
- [581b57b2](581b57b274) netpbm: 10.96.2 -> 10.97.2
- [60376d0d](60376d0d7d) timetagger: 22.1.2 -> 22.1.3
- [ef0bee50](ef0bee5047) python3Packages.timetagger: format
- [d90ae4bf](d90ae4bfac) python3Packages.timetagger: disable tests on python versions older than 3.10
- [bd8eca52](bd8eca52fa) timetagger: use SPDX 3.0 license identifier
- [9441234a](9441234abc) rpm-ostree: 2021.14 -> 2022.1
- [b404fb82](b404fb8228) python39Packages.pdm-pep517: 0.9.4 -> 0.10.2
- [68544ccc](68544ccc34) python310Packages.nengo: 3.1.0 -> 3.2.0
- [232fc419](232fc41914) vimPlugins: update
- [ec0a4972](ec0a4972c8) vimPlugins.fidget-nvim: init at 2022-01-26
- [da815397](da815397a7) python3Packages.sentry-sdk: disable web test
- [5b958f0c](5b958f0c22) python3Packages.apache-beam: fix build
- [65a33fec](65a33fec2a) python3Packages.jaxlibWithCuda: init at 0.1.75 ([NixOS/nixpkgs⁠#157055](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/157055))
- [078e4df0](078e4df095) gupnp: 1.4.1 -> 1.4.3
- [b612b6bd](b612b6bd37) libredwg: 0.12 -> 0.12.4
- [cdcb8468](cdcb8468e6) libwpe-fdo: 1.10.0 -> 1.12.0
- [84726d05](84726d052e) libunibreak: 4.3 -> 5.0
- [a26134ff](a26134ffd4) nixos/nix-daemon: Fix misspelled old option name
- [957b835e](957b835e71) python310Packages.pytest-httpserver: 1.0.3 -> 1.0.4
- [3749e6df](3749e6df5b) tiled: use python3
- [1e31734c](1e31734c9e) drawio: 16.4.0 -> 16.5.1
- [fe580dcf](fe580dcffa) terraform: fix the plugins wrapper
- [e87db3c8](e87db3c8c3) poke: 1.4 -> 2.0 ([NixOS/nixpkgs⁠#157108](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/157108))
- [1e8d75b0](1e8d75b093) live555: add vlc test
- [460c7730](460c7730da) dlib: 19.22 -> 19.23
- [46d4c9e6](46d4c9e6a4) prometheus-postgres-exporter: 0.10.0 -> 0.10.1
- [35461520](354615203e) python3Packages.identify: 2.4.5 -> 2.4.6
- [0e42bc10](0e42bc10c8) nixVersions: use recurseIntoAttrs
- [269b5157](269b515703) nixVersions: makeExtensible
- [60c571be](60c571bef6) xh: 0.14.1 -> 0.15.0
- [41f927b4](41f927b433) verilator: 4.210 -> 4.218 ([NixOS/nixpkgs⁠#157122](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/157122))
- [360829c7](360829c749) yadm: use resholvePackage ([NixOS/nixpkgs⁠#154190](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/154190))
- [3bd2f239](3bd2f2390d) maintainers: update github handle for Gordias
- [019bc5f7](019bc5f7a1) v2ray-geoip: 202201200035 -> 202201270031
- [93c2a076](93c2a07611) python310Packages.hahomematic: 0.27.2 -> 0.28.1
- [867b36b0](867b36b0a2) python310Packages.minikerberos: 0.2.15 -> 0.2.16
- [bbca1086](bbca10868a) python310Packages.databricks-connect: 9.1.7 -> 9.1.8
- [d0923487](d09234879c) python310Packages.dash: 2.0.0 -> 2.1.0
- [1f0eae0d](1f0eae0d81) python310Packages.python-gitlab: 3.1.0 -> 3.1.1
- [2d91a19f](2d91a19f16) kuttl: switch to go_1_17
- [e88ad86c](e88ad86cfd) galene: switch to go_1_17
- [8edb05e5](8edb05e567) trillian: switch to go_1_17
- [c88d3c37](c88d3c371a) python3Packages.dash: disable on older Python releases
- [937953f1](937953f1c4) python310Packages.simplisafe-python: 2021.12.2 -> 2022.01.0
- [ea1446f5](ea1446f556) nomad: drop support for nomad 1.0
- [eb780729](eb78072935) chromiumDev: 99.0.4840.0 -> 99.0.4844.11
- [a5b0dd62](a5b0dd620b) nuspell: 5.0.0 -> 5.0.1
- [3b178976](3b1789762e) double-conversion: 3.1.5 -> 3.1.6
- [1e414e1b](1e414e1bd1) python310Packages.deezer-python: 5.0.0 -> 5.0.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-02-04 01:02:38 +00:00
2022-01-01 04:48:36 +02:00

nix-doom-emacs

Status
Build on master Build Status on master
Build on develop Build Status on develop
Dependency updater Dependency Updater Status

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

Description
doom-emacs packaged for Nix [maintainers=@ckiee,@thiagokokada]
Readme MIT 3.4 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%