github-actions[bot] cc661cbcea flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 9222ae36 -> ad267cc9 (#79)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 9222ae36b2...ad267cc9cf

- [99fb2c0b](99fb2c0bb9) adguardhome: 0.107.3 - 0.107.4
- [c32e4e0c](c32e4e0c49) ocaml-ng.ocamlPackages_4_07.lwt: fix build with strictDeps
- [66da0847](66da0847c8) python310Packages.graphql-subscription-manager: 0.4.3 -> 0.5.0
- [f4145043](f414504311) vimPlugins.everforest: init at 2022-02-20
- [a9d567eb](a9d567eb62) python3Packages.types-ipaddress: init at 1.0.8
- [56ccb4fd](56ccb4fdd1) python3Packages.types-enum34: init at 1.1.8
- [52c62197](52c6219748) python3Packages.types-cryptography: init at 3.3.15
- [1576c5ce](1576c5ced1) python3Packages.types-paramiko: init at 2.8.13
- [dd2184d7](dd2184d759) python310Packages.sphinxcontrib-plantuml: 0.22 -> 0.23
- [fc0ffea2](fc0ffea2e2) python310Packages.google-cloud-texttospeech: 2.10.0 -> 2.10.1
- [5c83eaa1](5c83eaa1a1) python3Packages.zeroconf: 0.38.3 -> 0.38.4
- [377543b6](377543b67f) pythonPackages.pyctr: init at 0.6.0
- [2028494d](2028494d35) python310Packages.python-gitlab: 3.1.1 -> 3.2.0
- [8daa877d](8daa877d37) python310Packages.google-cloud-asset: 3.7.1 -> 3.8.0
- [4e96b99a](4e96b99a22) python310Packages.ipyparallel: 8.1.0 -> 8.2.0
- [27fb7195](27fb719591) python310Packages.nitransforms: 21.0.0 -> 22.0.0
- [5e58b4b3](5e58b4b3e5) python310Packages.ckcc-protocol: 1.2.1 -> 1.3.0
- [16071c1a](16071c1a71) python310Packages.google-cloud-os-config: 1.10.0 -> 1.11.0
- [2bf64079](2bf64079f1) python310Packages.google-cloud-translate: 3.7.0 -> 3.7.1
- [6dc76f3f](6dc76f3f04) packet: refactor
- [b017a471](b017a47185) python3Packages.flipr-api: 1.4.1 -> 1.4.2
- [e1edefa1](e1edefa157) febio: init at 3.5.1
- [2ec64302](2ec6430258) precice-config-visualizer: init at unstalbe-2022-02-23
- [18bd82ed](18bd82edcc) nixos/release tested job: drop `nano` test
- [5cbeddfd](5cbeddfde4) lib.types: Introduce `types.optionType`
- [023fa7b9](023fa7b923) lib.modules: Use types.optionType for _module.freeformType
- [19fc6935](19fc69355f) aiodnsbrute: 0.3.2 -> 0.3.3
- [68e4d1c2](68e4d1c26b) whalebird: 4.5.1 -> 4.5.2
- [7a9ee0a0](7a9ee0a0ef) python3Packages.rokuecp: 0.14.1 -> 0.15.0
- [f097fe0f](f097fe0f96) python3Packages.pyoverkiz: 1.3.9 -> 1.3.10
- [62f4e947](62f4e9477f) xplr: 0.17.2 -> 0.17.3
- [ea9bd22f](ea9bd22f0c) n8n: 0.165.0 → 0.165.1
- [bff71033](bff71033a2) python3Packages.elastic-apm: 6.7.2 -> 6.8.0
- [6b0735cb](6b0735cb84) python3Packages.decopatch: 1.4.9 -> 1.4.10
- [cb0ed470](cb0ed4703b) chromium: 98.0.4758.102 -> 99.0.4844.51
- [0f603556](0f603556a9) python3Packages.nextcord: init at 2.0.0a8
- [1f59c76c](1f59c76c66) icnsutil: pull from the Python package set
- [09f4b2ed](09f4b2ed73) gh: 2.5.1 -> 2.5.2
- [5040ab91](5040ab9149) llvmPackages_14: Mark broken packages
- [a1dfddfd](a1dfddfdef) frostwire-bin: 6.9.5 -> 6.9.7
- [676678f2](676678f23f) podman: add darwin wrapper and wrap gvproxy
- [f30dbd05](f30dbd05fe) buildDhallDirectoryPackage: Stringify src for documentationRoot ([NixOS/nixpkgs⁠#162401](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/162401))
- [64476294](64476294c5) git-blame-ignore-revs: add a file to ignore certain git revisions
- [80d6b6df](80d6b6df01) dockutil: init at 2.0.5 ([NixOS/nixpkgs⁠#155052](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/155052))
- [24ac686e](24ac686e22) buf: 1.0.0 -> 1.1.0
- [7b58f92d](7b58f92d32) jschema_to_python: fix missing pbr dependency
- [89eff15f](89eff15f31) last: 1260 -> 1268
- [b9c1df1c](b9c1df1c6a) php74Extensions.swoole: 4.8.6 -> 4.8.7
- [d2748e84](d2748e84f8) desktopToDarwinBundle: support 48x48 icons
- [8a2fdda9](8a2fdda938) desktopToDarwinBundle: use Bash arithmetic
- [d16e0ea4](d16e0ea44c) python310Packages.mypy-boto3-builder: 7.1.2 -> 7.2.1
- [f04b3a95](f04b3a951f) python310Packages.pex: 2.1.68 -> 2.1.69
- [b4bc9ce0](b4bc9ce0a0) rust-analyzer: 2022-02-22 -> 2022-02-28
- [e07220a5](e07220a5ad) build(deps): bump actions/labeler from 3 to 4
- [3f2c2d0a](3f2c2d0afa) build(deps): bump actions/checkout from 2 to 3
- [4be693a5](4be693a525) python310Packages.plaid-python: 8.11.0 -> 9.0.0
- [1adafac6](1adafac6ff) httpx: 1.1.5 -> 1.2.0
- [aaa34c96](aaa34c96d0) discord-ptb: 0.0.27 -> 0.0.29
- [b7500493](b750049336) Revert "buildDotnetModule: enable RestoreUseStaticGraphEvaluation"
- [1b534c47](1b534c4789) blockattack: 2.7.0 -> 2.8.0
- [b2897c20](b2897c202b) gitlab-runner: 14.8.0 -> 14.8.2 ([NixOS/nixpkgs⁠#162416](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/162416))
- [c02944e1](c02944e17d) python39Packages.opensfm: init at 0.5.2 ([NixOS/nixpkgs⁠#152957](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/152957))
- [7bf016e8](7bf016e8c3) btcpayserver: 1.4.6 -> 1.4.7
- [393c9f1e](393c9f1ebb) leiningen: 2.9.7 -> 2.9.8
- [107d591b](107d591b65) freeoffice: fix mimeTypes in desktop entry
- [f991837d](f991837d2a) vscode-extensions.streetsidesoftware.code-spell-checker: 2.1.5 -> 2.1.7
- [addee10e](addee10e2b) signalbackup-tools: 20220227 -> 20220301
- [276f639a](276f639ac2) python39Packages.graphql-subscription-manager: 0.5.0 -> 0.5.1
- [abb65431](abb6543119) step-cli: 0.18.1 -> 0.18.2
- [cec1221c](cec1221ccf) checkov: 2.0.908 -> 2.0.913
- [0876565e](0876565e5c) playonlinux: improve wrapping
- [da7947c8](da7947c8da) nncp: 8.5.0 -> 8.6.0
- [a0148164](a0148164d6) electrum-grs: fix src
- [a5ae9495](a5ae949520) v2ray-geoip: 202202170030 -> 202203020509
- [2e5f265f](2e5f265fdb) emacs-nox: remove appendToName to have a consistent package name for repology
- [78892fe8](78892fe8cf) python3Packages.torch-tb-profiler: init at 0.3.1
- [53d7e8f3](53d7e8f391) klayout: 0.27.3 -> 0.27.8
- [7e814f1b](7e814f1b74) python3Packages.adafruit-platformdetect: 3.20.0 -> 3.20.1
- [d33740c6](d33740c674) python310Packages.weasyprint: 54.1 -> 54.2
- [0da44bd4](0da44bd46d) python3Packages.pycfmodel: 0.16.3 -> 0.17.0
- [3116a1e4](3116a1e430) python3Packages.adafruit-io: init at 2.6.0
- [e0fbb0a9](e0fbb0a974) python310Packages.PyChromecast: 10.2.3 -> 10.3.0
- [b9f5f4fe](b9f5f4fe6f) python3Packages.pyskyqremote: 0.3.2 -> 0.3.5
- [6c8c2339](6c8c2339ca) python3Packages.pyskyqremote: remove stale input
- [98213c5e](98213c5eaf) python3Packages.pyprecice: init at 2.3.0.1
- [2e3231cd](2e3231cd6b) python3Packages.wandb: 0.12.10 -> 0.12.11
- [7286be7e](7286be7e81) nixos/systemd-confinement: Allow shipped unit file
- [6fc2b4b5](6fc2b4b5e9) python3Packages.twitchapi: init at 2.5.2
- [671a068a](671a068a01) Remove F-PROT package and service module (EoL) ([NixOS/nixpkgs⁠#160372](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/160372))
- [fae86036](fae860361e) steam: remove nativeOnly options
- [ee5fab45](ee5fab452b) steam-run-native: deprecate
- [5f91781b](5f91781b55) treewide: remove steam-run-native
- [4550f157](4550f15784) wpsoffice: don't use nativeOnly for steam
- [6a28e488](6a28e4887c) nixos/release: disable nfs3.simple
- [2c4ac5f4](2c4ac5f402) flexget: relax dependency constrains
- [3e072546](3e072546ea) python3Packages.tifffile: remove old patch
- [63f536d7](63f536d770) python3Packages.soco: 0.26.3 -> 0.26.4
- [6979f492](6979f4920d) terraform: 1.1.6 -> 1.1.7
- [37143b9c](37143b9cd9) pulumi-bin: 3.22.1 -> 3.25.1
- [fe65279c](fe65279cb8) python3Packages.meshtastic: 1.2.87 -> 1.2.88
- [3f4b1894](3f4b189485) alacritty: 0.10.0 -> 0.10.1
- [75d3f2b9](75d3f2b943) pulumi: add google-native
- [76467026](764670261a) nixos/opensnitch: Add options to configure daemon
- [c1802276](c1802276f4) tectonic: 0.8.0 -> 0.8.1
- [7a3e6d66](7a3e6d6604) syncthing: 1.19.0 -> 1.19.1
- [77f77acf](77f77acffc) python3Packages.ihatemoney: fix build
- [27ebe78e](27ebe78ea1) convco: 0.3.8 -> 0.3.9
- [ba88ba13](ba88ba13b4) python310Packages.sqlmap: 1.6.2 -> 1.6.3
- [fba25be5](fba25be56f) dismap: 0.2 -> 0.3
- [ea27b224](ea27b2243b) clang13Stdenv: init ([NixOS/nixpkgs⁠#162346](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/162346))
- [92ede7bf](92ede7bf7a) flexget: 3.2.18 -> 3.3.2
- [126ce87b](126ce87b0c) nixos/tests: fix flaky cntr test
- [085183d3](085183d306) gau: 2.0.8 -> 2.0.9
- [bfaf867d](bfaf867dcb) xscreensaver: 6.02 -> 6.03
- [e1f1924a](e1f1924a20) podman: 4.0.1 -> 4.0.2
- [3024ba0b](3024ba0b76) parcel: init at 2.3.2
- [9c889648](9c88964863) python3Packages.blinkpy: disable failing tests on Python 3.10
- [7ec2c0f2](7ec2c0f276) crun: 1.4.2 -> 1.4.3
- [cb20e934](cb20e934db) clojure: 1.10.3.1082 -> 1.10.3.1087
- [121b56dc](121b56dcd0) nixopsUnstable: 2.0.0-pre (2021-12-01) -> 2.0.0-pre (2022-02-21)
- [0bd069dd](0bd069dd41) nixopsUnstable: Set version to <version>-pre-<commit>
- [d2c3410e](d2c3410efd) nixopsUnstable -> nixops_unstable
- [5b4c6317](5b4c63172c) nixops_unstable: Fall back to "dirty" when rev missing
- [e47e5519](e47e551964) nixops_unstable: 2.0.0-pre (2022-02-21) -> 2.0.0-pre-d939c9b (2022-03-03)
- [24278c45](24278c45af) mailutils: add debug info
- [7ecf7a34](7ecf7a3493) pkgsMusl.socat: fix build
- [4762a265](4762a265d4) pkgsMusl.screen: fix build
- [e28c5cd7](e28c5cd7ac) pkgsStatic.cryptsetup: don't --enable-static-cryptsetup
- [dc7da9ac](dc7da9ac1f) stylua: 0.12.3 -> 0.12.4
- [c5df8a40](c5df8a40a5) containerd: 1.6.0 -> 1.6.1
- [432c775f](432c775f3b) ocamlPackages.apron: set strictDeps = false to fix install failure
- [ef546c98](ef546c98dc) terraform-providers.aws: 4.2.0 -> 4.3.0
- [27439c97](27439c97e7) python310Packages.pyglet: 1.5.21 -> 1.5.22
- [28f86f66](28f86f66e8) python310Packages.azure-identity: 1.7.1 -> 1.8.0
- [facbc476](facbc4767d) python310Packages.sqlite-utils: 3.24 -> 3.25
- [c81926c4](c81926c414) python310Packages.google-cloud-dataproc: 3.3.0 -> 4.0.0
- [fcae1634](fcae1634e8) python310Packages.globus-sdk: 3.4.2 -> 3.5.0
- [99805240](998052403d) python310Packages.pyrfxtrx: 0.27.1 -> 0.28.0
- [fbcf2574](fbcf2574f6) python310Packages.pubnub: 6.0.1 -> 6.1.0
- [a28d8a4a](a28d8a4a0d) python310Packages.sabyenc3: 4.0.2 -> 5.0.1
- [507cb692](507cb692f0) python310Packages.neo: 0.10.0 -> 0.10.1
- [bdcb90bd](bdcb90bde8) python310Packages.aiolifx: 0.7.0 -> 0.7.1
- [1f1eefec](1f1eefec22) python310Packages.bitarray: 2.3.7 -> 2.4.0
- [7f1eb5ba](7f1eb5ba09) python310Packages.spacy: 3.2.2 -> 3.2.3
- [2568c6c9](2568c6c9a3) python310Packages.google-cloud-bigquery: 2.34.0 -> 2.34.1
- [bc847302](bc84730269) python310Packages.stripe: 2.66.0 -> 2.67.0
- [26d7a5cf](26d7a5cf77) python310Packages.jupyterlab: 3.2.9 -> 3.3.0
- [52a0af5f](52a0af5fb2) python310Packages.samsungtvws: 2.0.0 -> 2.1.0
- [cf983786](cf9837864d) python310Packages.python-songpal: 0.14 -> 0.14.1
- [c346cecb](c346cecbf3) python310Packages.azure-mgmt-compute: 26.0.0 -> 26.1.0
- [d50924f3](d50924f33b) discord-canary: 0.0.133 -> 0.0.134
- [da19aaee](da19aaee59) tectonic: 0.8.1 -> 0.8.2
- [ad267cc9](ad267cc9cf) python3Packages.isbnlib: 3.10.9 -> 3.10.10

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-04 01:19:14 +00: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 1.6 MiB
Languages
Nix 64.3%
Emacs Lisp 35.7%