github-actions[bot] 08e129b17d flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 3eac120c -> 80fcac0b
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 3eac120c3d...80fcac0b31

- [21ac3573](21ac35737e) bless: 0.6.2 -> 0.6.3
- [903665f3](903665f31c) nixos/self-deploy: init ([NixOS/nixpkgs⁠#120940](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/120940))
- [7409f9ba](7409f9bab3) services.cjdns: add missing, optional login & peerName attribute
- [e0e6ce73](e0e6ce7385) spice-vdagent: fix build error with glib > 2.68
- [a9a5465f](a9a5465f84) haskellPackages.inline-asm: restrict to x86
- [cbaa1c8a](cbaa1c8a59) haskellPackages.hw-prim-bits: restrict to x86
- [3e6d8a74](3e6d8a74af) lxqt-build-tools: fix darwin detection
- [f4c038f0](f4c038f030) haskellPackages: disable failing doctests on aarch64
- [d6c64b28](d6c64b2816) rxvt-unicode: 9.22 -> 9.26
- [6205c47b](6205c47b02) rxvt, mrxvt, eterm: Mark vulnerable to unexpected command execution
- [c7e74545](c7e74545ee) haskellPackages: fix eval of configuration-nix.nix
- [7d9b6264](7d9b6264b4) ocamlPackages.containers: 3.0.1 → 3.4
- [47a1b5e5](47a1b5e57f) yapesdl: fix darwin build
- [fdca59b1](fdca59b107) xcd: fix darwin build
- [be1e5f96](be1e5f9698) haskellPackages.futhark: use python3 instead of python37
- [037e5170](037e51702e) nixos/services/foldingathome: Add an option to set the "nice level" ([NixOS/nixpkgs⁠#122864](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122864))
- [e726f803](e726f8034f) cc65: fix darwin build
- [8e713d34](8e713d34d8) websocat: fix darwin build
- [5c3b09ae](5c3b09aecb) trunk: fix darwin build
- [7fe17847](7fe17847a2) tensor: fix darwin build
- [af3505ca](af3505ca32) clickhouse-driver: unbreak
- [6bebadb1](6bebadb171) python3Packages.pyatmo: 4.2.2 -> 4.2.3
- [a30a3e3c](a30a3e3cab) svd2rust: fix darwin build
- [755fa6d3](755fa6d3b3) sunwait: fix darwin build
- [7c0c956a](7c0c956a57) starspace: fix darwin build
- [92d0a489](92d0a489e0) spnavcfg: fix darwin build
- [56f0c92f](56f0c92fad) pyicu: 2.6 -> 2.7.1
- [de8dbb21](de8dbb21fb) pin to icu68
- [06b0d82d](06b0d82dd4) jumanpp: fix darwin build
- [4731287e](4731287e19) heimdall: fix non-GUI build on darwin
- [84078e61](84078e6165) sqlar: fix darwin build
- [ab205c5d](ab205c5de1) vimPlugins: restore aliases
- [b0e2820a](b0e2820ae2) ocamlPackages.luv: 0.5.7 -> 0.5.8
- [4b149087](4b14908706) python3Packages.sequoia: fix build by providing correct libclang output
- [ac582ccd](ac582ccd61) grafana: 7.5.2 -> 7.5.6
- [3ac820e1](3ac820e157) tachyon: fix darwin build ([NixOS/nixpkgs⁠#123558](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123558))
- [1dbb8fa2](1dbb8fa2be) wagyu: fix darwin build ([NixOS/nixpkgs⁠#123547](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123547))
- [48eba07c](48eba07cdd) kodiPackages.pvr-iptvsimple: 7.6.4 -> 7.6.5
- [31e84311](31e8431166) kea: 1.9.6 -> 1.9.7
- [81c7dd1d](81c7dd1dae) podman-compose: 0.1.5 -> 0.2.0pre-2021-05-18
- [255de2ca](255de2ca30) gh: 1.9.2 -> 1.10.0
- [d00a9f08](d00a9f089b) lispPackages.generic-cl: init from Quicklisp,
- [813b889f](813b889fbb) lispPackages: add --pure to README
- [35406647](35406647fd) tests.trivial: Avoid evaluation and ${pkgs.path} dep
- [03c09257](03c092579a) prometheus-xmpp-alerts: apply RFC 42
- [7117588d](7117588d26) linuxPackages.ati_drivers_x11: remove
- [035434d8](035434d8d5) vscode-extensions.hashicorp.terraform: 2.10.2 -> 2.11.0
- [6be9a813](6be9a81363) esphome: 1.17.2 -> 1.18.0
- [12103ae0](12103ae09f) t-rec: fix darwin build
- [e3f825bd](e3f825bdc2) texlab: fix darwin build
- [721c8ab3](721c8ab307) haskell.compiler.ghcHEAD: disable Hydra build on aarch64-linux
- [35220510](3522051033) hackage2nix: Mark failing builds broken
- [667950d4](667950d4e8) silicon: fix build error
- [5e2cedfa](5e2cedfae3) nixos/tests/cagebreak: use wayland-info instead of wallutils
- [12319aa7](12319aa718) etherape: 0.9.19 -> 0.9.20
- [f705d66e](f705d66eaf) pythonPackages.stem: fix build with python 3.9
- [d904c14b](d904c14b34) sequoia: 0.24.0 -> 0.25.0
- [706cdcf5](706cdcf598) deno: fix darwin build
- [b275ddd6](b275ddd6a1) megasync: temporarily remove ffmpeg dependency
- [bd02b3a5](bd02b3a568) plasma-sdk: init at 5.21.4
- [8990f68d](8990f68de3) gnome-podcasts: removed cmake from dependencies
- [9d57d41c](9d57d41c17) linuxPackages.ena: 2.4.1 -> 2.5.0
- [4e045f31](4e045f313b) linuxPackages.rtl8814au: move to a more maintained fork
- [529e32ba](529e32ba47) python3Packages.pysonos: 0.0.46 -> 0.0.48 ([NixOS/nixpkgs⁠#123537](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123537))
- [1d826752](1d82675281) python3Packages.pysonos: 0.0.48 -> 0.0.49
- [27f8f695](27f8f6956a) replace-secret: Init
- [38398fad](38398fade1) nixos/discourse: Use replace-secret to avoid leaking secrets
- [7842e89b](7842e89bfc) nixos/gitlab: Use replace-secret to avoid leaking secrets
- [3a29b7bf](3a29b7bf5b) nixos/mpdscribble: Use replace-secret to avoid leaking secrets
- [88b76d5e](88b76d5ef9) nixos/mpd: Use replace-secret to avoid leaking secrets
- [380b52c7](380b52c737) nixos/keycloak: Use replace-secret to avoid leaking secrets
- [f6e4e2ff](f6e4e2ff41) python3Packages.flask-appbuilder: 3.2.3 -> 3.3.0
- [f3ad74ab](f3ad74ab76) gdu: 4.11.1 -> 4.11.2
- [68415889](684158897d) tinyproxy: 1.10.0 -> 1.11.0 ([NixOS/nixpkgs⁠#122757](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122757))
- [41d85072](41d8507284) python3Packages.brother: 1.0.1 -> 1.0.2
- [82f5c64a](82f5c64af7) kdeltachat: unstable-2021-05-16 -> unstable-2021-05-18 ([NixOS/nixpkgs⁠#123575](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123575))
- [8bb4cc75](8bb4cc751e) podman-compose: hash nitpicking
- [14f54a8b](14f54a8b3c) tests.trivial: Add meta
- [9784a04d](9784a04d66) python3Packages.requests-http-signature: 0.1.0 -> 0.2.0
- [f99ff01e](f99ff01e70) octant: enable aarch64-darwin build
- [7013a0f2](7013a0f279) runc: 1.0.0-rc94 -> 1.0.0-rc95
- [a13dd7dd](a13dd7dde7) pythonPackages.karton-classifier: 1.0.0 -> 1.1.0
- [dce2a7a7](dce2a7a763) adwaita-qt: 1.1.4 -> 1.3.0
- [c61d3ab2](c61d3ab21b) pythonPackages.karton-asciimagic: 1.0.0 -> 1.0.1
- [9fcdd555](9fcdd5557a) electron: enable aarch64-darwin build (for electron 11+)
- [7d97cbda](7d97cbdacf) pythonPackages.karton-mwdb-reporter: 1.0.0 -> 1.0.1
- [e80e3670](e80e36702b) pythonPackages.karton-dashboard: 1.1.0 -> 1.2.0
- [a44c74b3](a44c74b37f) pythonPackages.karton-config-extractor: 2.0.0 -> 2.0.1
- [de89bddf](de89bddf7e) prometheus: 2.26.0 -> 2.27.1
- [612c30ac](612c30ac03) trezor-suite: 21.4.1 -> 21.5.1
- [40f276c0](40f276c07d) openmolcas: 20.10 -> 21.02
- [41b485f7](41b485f7c4) dune.nix: Include dune version in warning when dune is not supported
- [3aaa5c80](3aaa5c80ab) gh: 1.10.0 -> 1.10.1
- [788306b5](788306b573) ucx: 1.10.0 -> 1.10.1
- [e392df43](e392df43c9) python3Packages.zeroconf: 0.30.0 -> 0.31.0 ([NixOS/nixpkgs⁠#123567](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123567))
- [07c93061](07c93061aa) luaformatter: 1.3.5 -> 1.3.6
- [6996896b](6996896b48) bcal: cleanup package, enable aarch64-darwin build
- [3b34293b](3b34293b28) gnomeExtensions.fuzzy-app-search: 4 -> 4.0.1
- [a9b5556d](a9b5556d30) gensio: 2.2.4 -> 2.2.5
- [1cd5a7c8](1cd5a7c80d) argo: 3.0.3 -> 3.0.4
- [08cad391](08cad391fd) python3Packages.hatasmota: 0.2.12 -> 0.2.13
- [ae67ae86](ae67ae86cc) home-assistant: 2021.5.4 -> 2021.5.5
- [5e52c370](5e52c3706c) linuxPackages.rtl8821ce: mark broken for aarch64
- [7af24d09](7af24d098c) scenebuilder: fix build error
- [b343a40f](b343a40f99) gtk-sharp: fix build
- [3165afca](3165afca11) valentina: downgrade qt to 5.12
- [90e52050](90e5205085) pythonnet: 2.4.0 -> 2.5.2
- [36d0bcdc](36d0bcdca8) xvfb-run: mark as linux-only
- [b73f621c](b73f621c25) blobfuse: Bump version, separately build cpplite
- [fd0e3970](fd0e397050) pythonPackages.karton-yaramatcher: 1.1.0 -> 1.1.1
- [159a7e6b](159a7e6bf4) fixup! pythonPackages.karton-yaramatcher: 1.1.0 -> 1.1.1
- [54a5d419](54a5d41968) agi: 1.1.0-dev-20210513 -> 1.1.0-dev-20210514
- [3d71a65d](3d71a65d9c) earthly: 0.5.12 -> 0.5.13
- [402f6906](402f6906e4) dnsproxy: 0.37.3 -> 0.37.4
- [47517446](4751744636) hdparm: 9.60 -> 9.61
- [420b0fa3](420b0fa378) nixos/nebula: Add release notes
- [21c1af4d](21c1af4d0b) pythonPackages.fastpair : Updated version and pytest enabled
- [457e319a](457e319a2a) pantheon.elementary-calculator: 1.6.0 -> 1.6.1
- [5b1acc28](5b1acc28de) pythonPackages.karton-autoit-ripper: 1.0.0 -> 1.0.1
- [4826ef3c](4826ef3c77) metals: 0.10.2 → 0.10.3
- [5833277e](5833277e95) freetds: 1.2.18 -> 1.2.21
- [b40b6620](b40b6620a0) bacon: fix darwin build
- [029d53db](029d53dbf9) r2mod_cli: 1.0.7 -> 1.2.0
- [da5310f8](da5310f82e) retroarchBare: use ffmpeg instead of ffmpeg_3 ([NixOS/nixpkgs⁠#123514](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123514))
- [68c618cb](68c618cba3) opensmtpd-filter-rspamd: init at 0.1.7 ([NixOS/nixpkgs⁠#122823](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/122823))
- [8e9d803b](8e9d803bac) Fix description for services.kubernetes.addonManager.enable ([NixOS/nixpkgs⁠#71448](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/71448))
- [27056f59](27056f591d) python3Packages.aioshelly: 0.6.2 -> 0.6.3
- [274a71f2](274a71f262) solc: make darwin friendly
- [3f3cec6d](3f3cec6d9e) clickhouse: 20.11.4.13-stable -> 21.3.11.5-lts
- [13484444](13484444d4) ghc-filesystem: init at 1.5.4
- [bdad3518](bdad351842) maintainers: add chia team
- [a8d87bf2](a8d87bf2e3) pythonPackages.chiapos: init at 1.0.1
- [cef1166a](cef1166a10) pythonPackages.chiavdf: init at 1.0.1
- [19b3863b](19b3863ba7) pythonPackages.chiabip158: init at 1.0
- [d4fdd9a1](d4fdd9a19c) pythonPackages.keyrings-cryptfile: init at 1.3.4
- [ffdf830c](ffdf830cdd) pythonPackages.blspy: init at 1.0.2
- [07841681](07841681ef) pythonPackages.clvm-rs: init at 0.1.7
- [fe3f4115](fe3f4115fc) pythonPackages.clvm: init at 0.9.6
- [134b5f5a](134b5f5af8) pythonPackages.clvm-tools: init at 0.4.3
- [74365e4f](74365e4ff1) pythonPackages.concurrent-log-handler: init at 0.9.19
- [e9bfad8f](e9bfad8f6a) chia: init at 1.1.5
- [f6d57e23](f6d57e237a) terraform_0_15: 0.15.3 -> 0.15.4
- [d2f2e638](d2f2e638a9) openjfx11: use ffmpeg instead of ffmpeg_3 ([NixOS/nixpkgs⁠#123500](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123500))
- [a20dd346](a20dd34600) ffmpeg_3: mark as insecure ([NixOS/nixpkgs⁠#123496](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123496))
- [f06e539e](f06e539ef4) megacmd: temporarily remove ffmpeg dependency ([NixOS/nixpkgs⁠#123711](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/123711))
- [0ef5ecdd](0ef5ecddd3) python3Packages.nassl: fix build
- [4e001414](4e0014145c) python3Packages.ytmusicapi: 0.16.0 -> 0.17.1
- [b84ce999](b84ce9991c) spotdl: disable tests
- [3b56b0d3](3b56b0d384) python3Packages.cirq-core: init at 0.11.0
- [1018fa91](1018fa91f6) python3Packages.cirq-google: init at 0.11.0
- [480984e6](480984e696) python3Packages.cirq: 0.10.0 -> 0.11.0
- [80fcac0b](80fcac0b31) helmfile: 0.139.3 -> 0.139.6
2021-06-03 19:40:34 +02:00
2021-01-23 17:15:48 +01:00
2021-05-21 00:15:09 +02:00
2019-10-23 13:25:43 +02:00
2021-03-12 10:53:18 +01:00
2021-01-23 17:50:22 +01: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/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

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