github-actions[bot] 65d3f325c2 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 3a86856a -> 8e8b5f3b (#342)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 3a86856a13...8e8b5f3b1e

- [20ba511c](20ba511c98) python310Packages.fastapi-mail: add changelog to meta
- [f7857b2a](f7857b2acc) python310Packages.fastapi-mail: 1.2.0 -> 1.2.1
- [1c416b8c](1c416b8ce3) python310Packages.teslajsonpy: 3.2.0 -> 3.2.2
- [85681df5](85681df552) cinnamon.warpinator: 1.2.14 -> 1.2.15
- [da31e2c1](da31e2c1b7) typeshare: init at 1.0.0
- [1ca3d39a](1ca3d39a10) nanomq: 0.13.0 -> 0.13.1
- [2a65c2a4](2a65c2a491) nix-direnv: 2.1.2 -> 2.2.0
- [d9441f4c](d9441f4cd5) nmap-formatter: 2.0.1 -> 2.0.2
- [82fe76d1](82fe76d1cd) carnix,cratesIO: remove
- [35b95aab](35b95aab69) oh-my-posh: 12.16.0 -> 12.17.2
- [e98c6622](e98c66220b) yggdrasil: 0.4.6 -> 0.4.7
- [694cd662](694cd66276) honeycomb-refinery: init at 1.19.0 ([NixOS/nixpkgs⁠#200424](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/200424))
- [541aa8dc](541aa8dcd2) kubelogin: 0.0.23 -> 0.0.24
- [471d8bb0](471d8bb07a) opensmt: 2.4.2 -> 2.4.3
- [bc4b3e28](bc4b3e2851) python310Packages.pysnmplib: add changelog to meta
- [791238f1](791238f17f) python310Packages.pysnmplib: 5.0.19 -> 5.0.20
- [ee53f65f](ee53f65f05) nmap-formatter: add changelog to meta
- [1b08e4e3](1b08e4e353) erosmb: add changelog to meta
- [76d23c8a](76d23c8a5f) python310Packages.xknx: add changelog to meta
- [1e91f3fe](1e91f3feee) nvme-cli: fix cross compiling
- [00d4e145](00d4e14533) python310Packages.slack-sdk: add changelog to meta
- [eb8e4765](eb8e476531) python310Packages.slack-sdk: 3.19.3 -> 3.19.4
- [a7d485a2](a7d485a21d) talosctl: 1.2.6 -> 1.2.7
- [ece6f129](ece6f129b2) python310Packages.googlemaps: 4.7.0 -> 4.7.3
- [b5570921](b557092159) python310Packages.pick: add changelog to meta
- [e00bdab4](e00bdab42c) python310Packages.pick: 2.1.0 -> 2.2.0
- [29384778](29384778fe) clusterctl: 1.2.5 -> 1.2.6
- [22bee934](22bee934d0) mitschemeX11: use xorg.* packages directly instead of xlibsWrapper indirection
- [365c1a5a](365c1a5abb) maintainer-list.nix: sort
- [b6320d0c](b6320d0c45) python310Packages.pymbolic: 2022.1 -> 2022.2
- [9d9bb3b9](9d9bb3b9ae) python310Packages.ntlm-auth: disable failing tests
- [e599c2ae](e599c2ae33) python310Packages.httpx-socks: 0.7.4 -> 0.7.5
- [9746690d](9746690d4a) python310Packages.masky: init at 0.1.1
- [58ae822d](58ae822d24) python310Packages.junitparser: 1.4.1 -> 2.8.0 ([NixOS/nixpkgs⁠#200443](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/200443))
- [9161d4a8](9161d4a8fc) crackmapexec: 5.3.0 -> 5.4.0
- [1f2f987b](1f2f987b51) python310Packages.httpx-socks: add changelog to meta
- [c2ab8369](c2ab8369fa) python310Packages.googlemaps: add changelog to meta
- [7ef66a73](7ef66a7340) pods: 1.0.0-beta.7 -> 1.0.0-beta.8
- [4800b30f](4800b30f39) csdr: fix build on aarch64
- [25b2efe9](25b2efe9df) cargo-llvm-lines: 0.4.21 -> 0.4.22
- [3c95f2c9](3c95f2c968) nomad_1_2: 1.2.14 -> 1.2.15
- [cfd38d7a](cfd38d7a56) nomad_1_3: 1.3.7 -> 1.3.8
- [40c825f8](40c825f840) nomad_1_4: 1.4.2 -> 1.4.3
- [b72a75e7](b72a75e7d7) nomad: 1.3 -> 1.4
- [87823cc8](87823cc828) resvg: 0.25.0 -> 0.26.1
- [a1ff1691](a1ff1691fa) vimPlugins: update
- [2273459f](2273459f98) vimPlugins.neoconf-nvim: init at 2022-11-22
- [aeacc063](aeacc063c7) vimPlugins.nvim-treesitter: update grammars
- [a9b8f8f2](a9b8f8f209) telegraf: 1.24.2 -> 1.24.3
- [d2b9c669](d2b9c6691e) qtpbfimageplugin: build with qt6 too
- [091e6d7c](091e6d7c69) gpxsee: 11.6 -> 11.9
- [dc7783ec](dc7783ece2) qt6Packages.qttools: fix tool path
- [5b8c42f9](5b8c42f98c) nixos/lighthouse: add dataDirs to unit ReadWritePaths
- [443f5eb9](443f5eb97f) python3Packages.monero: 1.0.1 -> 1.1.1
- [d07d74ef](d07d74efee) terraform-providers.dnsimple: 0.14.1 → 0.15.0
- [326447b6](326447b610) terraform-providers.cloudfoundry: 0.15.5 → 0.50.0
- [3f7e939d](3f7e939dd9) terraform-providers.fastly: 3.0.0 → 3.0.1
- [de92ad30](de92ad302d) terraform-providers.github: 5.9.0 → 5.9.1
- [17ce3fff](17ce3fff32) terraform-providers.google: 4.44.0 → 4.44.1
- [bebf9d49](bebf9d494c) terraform-providers.google-beta: 4.44.0 → 4.44.1
- [97114c7a](97114c7ae0) terraform-providers.grafana: 1.30.0 → 1.31.1
- [8aa683bf](8aa683bfaf) terraform-providers.okta: 3.38.0 → 3.39.0
- [9e38073c](9e38073c85) terraform-providers.ovh: 0.22.0 → 0.23.0
- [7dd87915](7dd87915b4) terraform-providers.scaleway: 2.6.0 → 2.7.1
- [ed537115](ed53711511) git-annex-remote-rclone: use stdenvNoCC
- [c69d1a21](c69d1a21c6) git-annex-remote-rclone: update meta
- [4607cb53](4607cb53b4) zsv: 2022-11-12 -> 0.3.3-alpha
- [eed26dd1](eed26dd105) zuo: 2022-11-12 -> 2022-11-15
- [727fcd40](727fcd407e) postgresqlPackages.plpgsql_check: 2.2.3 -> 2.2.4
- [c4c53595](c4c53595c4) ocamlPackages.sexplib: 0.15.0 → 0.15.1
- [a428c94a](a428c94ab6) ocamlPackages.ppx_expect: 0.15.0 → 0.15.1
- [c3ef258b](c3ef258b6f) ocamlPackages.core: 0.15.0 → 0.15.1
- [6a7cc8d5](6a7cc8d587) snappymail: 2.21.3 -> 2.21.4
- [f0261636](f02616368a) spicetify-cli: 2.14.1 -> 2.14.2
- [6d48f87e](6d48f87ec3) python310Packages.lxmf: 0.2.4 -> 0.2.5
- [3d0df173](3d0df173b9) cargo-public-api: 0.23.0 -> 0.24.0
- [7c81f8bc](7c81f8bc2a) syft: 0.62.0 -> 0.62.1
- [639d8523](639d8523a9) plantuml: 1.2022.12 -> 1.2022.13
- [ee7bc620](ee7bc6209d) taskwarrior-tui: 0.23.6 -> 0.23.7
- [c94a435e](c94a435e94) taskwarrior-tui: install completions and manpage
- [798c76ea](798c76ea13) python3Packages.autopep8: replace toml with tomli
- [67a1a34e](67a1a34ed6) python3Packages.python-lsp-server: Add undeclared but necessary optional dependency
- [5ab18b18](5ab18b18ed) ocamlPackages.reactivedata: 0.2.2 → 0.3
- [2d8cbb5a](2d8cbb5a21) unifi7: 7.2.92 -> 7.2.95
- [501d684d](501d684de8) nixosTests/prosody: add timeout
- [8040c468](8040c468ed) nixosTests/prosody[-mysql]: fix tests TLS setup
- [1297203f](1297203f6f) exploitdb: 2022-11-12 -> 2022-11-22
- [6c534a48](6c534a48f4) antimony: 2020-03-28 -> 2022-11-23
- [1e99c150](1e99c15089) vale: 2.21.0 -> 2.21.1
- [20c50761](20c5076170) twitterBootstrap: 5.2.2 -> 5.2.3
- [cb3339b8](cb3339b842) python310Packages.autopep8: 1.7.1 -> 2.0.0
- [c33ec106](c33ec10699) qownnotes: 22.11.5 -> 22.11.7
- [de50b1dc](de50b1dc24) wasmtime: 2.0.2 -> 3.0.0
- [d7ab7262](d7ab72620d) fcitx5: 5.0.19 -> 5.0.20
- [6b274039](6b2740393e) fcitx5-chewing: 5.0.12 -> 5.0.13
- [a5dcd0fe](a5dcd0fe35) fcitx5-chinese-addons: 5.0.15 -> 5.0.16
- [1c1d6523](1c1d65231e) fcitx5-configtool: 5.0.15 -> 5.0.16
- [48005968](48005968c7) fcitx5-gtk: 5.0.19 -> 5.0.20
- [80df6e86](80df6e8613) fcitx5-m17n: 5.0.10 -> 5.0.11
- [e7f071f6](e7f071f699) libsForQt5.fcitx5-qt: 5.0.15 -> 5.0.16
- [599fd132](599fd13281) fcitx5-rime: 5.0.14 -> 5.0.15
- [e2af29d9](e2af29d997) fcitx5-table-extra: 5.0.11 -> 5.0.12
- [d79ab83b](d79ab83bbc) fcitx5-unikey: 5.0.11 -> 5.0.12
- [d0ebe6b8](d0ebe6b876) jekyll: force ruby platform when updating dependencies
- [689f5904](689f590488) subsurface: 5.0.2 -> 5.0.10 ([NixOS/nixpkgs⁠#202145](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/202145))
- [625e691a](625e691a67) sayonara: build against latest Qt5
- [c7ae87cf](c7ae87cfbf) jekyll: update dependencies
- [f5f27446](f5f27446bf) heisenbridge: Fix double-hash caused by [NixOS/nixpkgs⁠#202060](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/202060)
- [6fa4fa65](6fa4fa6508) portfolio: 0.59.3 -> 0.59.4
- [2ab2d1ea](2ab2d1ea8c) kyverno: 1.8.1 -> 1.8.2
- [1f5c55be](1f5c55be64) datree: 1.8.0 -> 1.8.1
- [62d46c43](62d46c43cb) swappy: 1.4.0 -> 1.5.1
- [2440674e](2440674e5f) yad: 12.0 -> 12.1
- [5a8af240](5a8af2401c) gnome-secrets: 6.5 -> 7.0
- [49454c3e](49454c3e22) vscode-extensions.streetsidesoftware.code-spell-checker: 2.11.0 -> 2.11.1
- [20515701](2051570194) advancecomp: 2.3 -> 2.4
- [7393a554](7393a554e8) heroku: 7.60.2 -> 7.66.4
- [62ff8337](62ff8337e1) vscode-extensions.elixir-lsp.vscode-elixir-ls: 0.11.0 -> 0.12.0
- [c0d004af](c0d004afa0) pkgsStatic.rcshist: fix static build
- [05f0b061](05f0b0614b) echidna: 2.0.3 -> 2.0.4
- [31a73a22](31a73a2206) aliyun-cli: 3.0.135 -> 3.0.136
- [0781b244](0781b24489) python310Packages.sensor-state-data: add changelog to meta
- [d6693545](d669354552) python310Packages.sensor-state-data: 2.12.0 -> 2.12.1
- [d0732c94](d0732c9470) python310Packages.pytenable: add changelog to meta
- [e977728a](e977728a5b) python310Packages.pytenable: 1.4.9 -> 1.4.10
- [f97b4920](f97b4920b9)  python310Packages.lxmf: add chagnelog to meta
- [24e33a4d](24e33a4d2e) nixos/ec2: remove paravirtualization-specific code
- [eddfcf86](eddfcf8622) amazon-image: fetch metadata only in stage-2
- [6fb582e0](6fb582e030) ec2-metadata-fetcher: ignore failure when fetching metadata parts
- [36ca2b49](36ca2b495f) nixos/ec2: use only curl in metadata fetcher, log to console
- [63808344](6380834436) python310Packages.aiohomekit: add changelog to meta
- [14791e09](14791e09aa) python310Packages.aiocoap: add changelog to meta
- [4edf9eda](4edf9edaf4) python310Packages.aiocoap: 0.4.4 -> 0.4.5
- [e57f897d](e57f897d25) python310Packages.aiohomekit: 2.3.0 -> 2.3.1
- [58930f0b](58930f0b7f) ocamlPackages.mtime: 1.2.0 → 1.4.0
- [d37848e5](d37848e5c0) python310Packages.griffe: add changelog to meta
- [579ec5c8](579ec5c894) python310Packages.griffe: 0.24.0 -> 0.24.1
- [90e22fde](90e22fde4b) rofimoji: 5.6.0 -> 6.0.0
- [3efbc1f9](3efbc1f9e5) rofimoji: install man page
- [9fdc90c6](9fdc90c65d) python310Packages.meshtastic: add changelog to meta
- [a22a9603](a22a960374) python310Packages.meshtastic: 2.0.3 -> 2.0.4
- [2507b02a](2507b02a1c) chaos: 0.3.0 -> 0.4.0
- [1462c3cc](1462c3cc48) zlint: init at 3.4.0
- [4415badd](4415baddd8) zlint: apply review's comment
- [f9cdaba4](f9cdaba46e) part ways with leaveDotGit
- [e83efab6](e83efab60d) chaos: add changelog to meta
- [b8ffc572](b8ffc572d2) nixos/patroni: only run tests on x86_64-linux
- [9a5dc3a7](9a5dc3a760) etcd_3_5: 3.5.5 -> 3.5.6
- [3d97d9cc](3d97d9cc46) senv: mark broken on darwin
- [af5c172f](af5c172fab) writefreely: remove myself from maintainers
- [63fa4df6](63fa4df63c) qrcp: mark broken on darwin
- [8c037af9](8c037af94c) terraform-providers.fastly: 3.0.1 → 3.0.2
- [831394a8](831394a8da) terraform-providers.docker: 2.23.0 → 2.23.1
- [3e85b631](3e85b63181) terraform-providers.opsgenie: 0.6.17 → 0.6.18
- [8e8b5f3b](8e8b5f3b1e) terraform-providers.tencentcloud: 1.78.13 → 1.78.14

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-25 01:34:33 +00:00
2022-10-25 21:32:25 +01:00
2022-11-05 12:15:22 -03:00
2022-09-03 21:45:31 +01:00

nix-doom-emacs

Status
Build on master Build Status on master
Dependency updater Dependency Updater Status
Matrix Chat Matrix Chat

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:nix-community/home-manager";
    nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
  };

  outputs = {
    self,
    nixpkgs,
    lib,
    home-manager,
    nix-doom-emacs,
    ...
  }: {
    nixosConfigurations.exampleHost = lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        home-manager.nixosModules.home-manager
        ({
          home-manager.users.exampleUser = lib.mkMerge [
            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; # Not needed if you're using the Home-Manager module instead
  };
}

to connect to the daemon you can now run emacsclient -c

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