github-actions[bot] b88e92735d flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 0867f627 -> c0e88185
On branch: nixpkgs-unstable
Commits: 0867f62742...c0e8818520

- [d0163f2a](d0163f2af0) multimc: unstable -> 0.6.12
- [34ec2253](34ec2253bb) python3Packages.rabbitpy: mark as broken
- [f0d4a1ce](f0d4a1ce7d) tz: init at 0.4
- [b67362d7](b67362d7f7) doc: add section for FUSE
- [45522833](4552283352) pspg: 4.3.1 -> 4.4.0
- [7e87c10a](7e87c10a98) notcurses: 2.2.2 -> 2.2.3
- [dfd5d237](dfd5d237d9) links2: 2.21 -> 2.22
- [3102a54e](3102a54e17) python38Packages.azure-multiapi-storage: 0.6.0 -> 0.6.2
- [f7d1fb54](f7d1fb542f) mksh: fix license
- [1176f706](1176f7068f) python38Packages.bitarray: 1.7.1 -> 1.8.0
- [2ce3eff4](2ce3eff490) salt: 3002.5 -> 3002.6
- [ad8aaa1e](ad8aaa1eb1) zchunk: 1.1.8 -> 1.1.9
- [316146ae](316146ae56) ldeep: 1.0.9 -> 1.0.10
- [5cd983f6](5cd983f6d3) qt5: Include the "out" derivation as well as the "dev" in qt5.full
- [e7c159f2](e7c159f21b) josm: 17560 -> 17580
- [2a212938](2a212938fa) python3Packages.restview: 2.9.1 -> 2.9.2 ([NixOS/nixpkgs⁠#117374](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117374))
- [dcba35f2](dcba35f22b) zs-apc-spdu-ctl: don't put runtime deps into buildInputs
- [dfff61f8](dfff61f850) zziplib: 0.13.71 -> 0.13.72
- [6459ab51](6459ab51c8) gitea: 1.13.5 -> 1.13.6
- [b4393366](b43933666f) gitea: normalise derivation format using `nixpkgs-fmt`
- [6214cfb3](6214cfb3ec) sipvicious: init at 0.3.2
- [76552e95](76552e95cc) stdenv: Fix regression on ARM+static when enabling hardening ([NixOS/nixpkgs⁠#115363](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115363))
- [0df63c95](0df63c9543) python3Packages.loguru: unbreak ([NixOS/nixpkgs⁠#117381](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117381))
- [c33a8a2c](c33a8a2c2d) vimPlugins: update
- [1e2bd7cd](1e2bd7cd6f) vimPlugins.nvim-bufferline-lua: init at 2021-03-22
- [af52343a](af52343ae9) python3Packages.forbiddenfruit: unbreak
- [ee07bee0](ee07bee080) udunits: 2.2.27.6 -> unstable-2021-03-17
- [cce199a3](cce199a3e0) plasma-workspace: fix path to qdbus
- [52433003](524330039c) apacheHttpdPackages.mod_evasive: drop package
- [6178d378](6178d37883) apacheHttpdPackages: compile packages
- [f702e566](f702e566c0) pythonPackages.pyradios: init at 0.0.22
- [8c77085b](8c77085b18) python3Packages.pymumble: 0.3.1 -> 1.6
- [1638776b](1638776b7b) botamusique: init at unstable-2021-03-13
- [0432ecca](0432eccae8) bit: init at 1.05
- [564f4287](564f428747) weechat-notify-send: fixed meta.homepage mispelling
- [15fd117e](15fd117e71) cypari2: 2.1.1 -> 2.1.2
- [594eda3b](594eda3b7d) sage: patch intermittently failing test
- [90772d66](90772d6666) cysignals: 1.10.2 -> 1.10.3
- [812ffed9](812ffed96b) gap: backport aarch64 patch
- [2db8c55d](2db8c55de0) discord: 0.0.13 -> 0.0.14
- [9db47b0a](9db47b0a3a) cargo-audit: add cargo audit fix by default
- [59540af4](59540af4ba) libpst: build as shared library
- [bb60fd85](bb60fd8592) evolution: enable importing Outlook .pst data files
- [d45bf41d](d45bf41d7a) rubocop: 1.11.0 -> 1.12.0
- [3942baa2](3942baa2db) python3Packages.plexapi: 4.4.1 -> 4.5.0
- [48f244a5](48f244a518) vimPlugins.nvim-colorizer-lua: init at 2020-06-11
- [7352df86](7352df865a) python38Packages.croniter: 0.3.37 -> 1.0.9
- [ff9869d3](ff9869d3d6) python38Packages.azure-eventgrid: 4.0.0 -> 4.1.0
- [99111070](9911107004) python38Packages.mautrix: 0.8.16 -> 0.8.17
- [0d5c0c46](0d5c0c4608) joker: 0.15.7 -> 0.16.0
- [6ccd2c70](6ccd2c7080) python38Packages.databricks-connect: 7.3.10 -> 8.1.0
- [5498ac7c](5498ac7c50) buildkite-agent: 3.27.0 -> 3.28.1
- [1af4354d](1af4354d81) openmpt123: 0.5.5 -> 0.5.6
- [ac591f31](ac591f31c2) pythonPackages.jellyfin-apiclient-python: 1.7.0 -> 1.7.2
- [f353d0eb](f353d0eb01) jellyfin-mpv-shim: 1.9.0 -> 1.10.0
- [84023d85](84023d85cb) llvmPackages_rocm: 4.0.1 -> 4.1.0
- [66a017cc](66a017cc56) rocm-device-libs: 4.0.0 -> 4.1.0
- [b28f05f1](b28f05f1ef) rocm-thunk: 4.0.0 -> 4.1.0
- [ecaced15](ecaced15e4) rocm-runtime: 4.0.0 -> 4.1.0
- [74ce68be](74ce68be64) rocm-comgr: 4.0.0 -> 4.1.0
- [ec21ab9e](ec21ab9e0c) rocm-cmake: 4.0.0 -> 4.1.0
- [a517ae90](a517ae90cf) rocclr: 4.0.0 -> 4.1.0
- [ed7d75b3](ed7d75b3a4) rocm-opencl-runtime: 4.0.0 -> 4.1.0
- [070bfc96](070bfc96b7) python38Packages.xdis: 5.0.5 -> 5.0.8 ([NixOS/nixpkgs⁠#117364](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117364))
- [ec7ff8b0](ec7ff8b0dc) python3Packages.croniter: use pytestCheckHook
- [50a392a4](50a392a4fe) pythonPackages.android-backup: init at 0.2.0
- [0285851c](0285851c4e) python3Packages.python-miio: 0.5.4 -> 0.5.5.1
- [e13c5e71](e13c5e711a) python38Packages.sasmodels: 1.0.2 -> 1.0.4
- [84fcca07](84fcca07aa) rocm-smi: 4.0.0 -> 4.1.0
- [c0914a76](c0914a76c4) pyload: drop
- [5886dda3](5886dda306) plowshare: spidermonkey_38 -> spidermonkey_78
- [788575a4](788575a4de) jsawk: spidermonkey_38 -> spidermonkey_78
- [c49825c5](c49825c5ee) spidermonkey_38: drop
- [c28c61b7](c28c61b7a5) helio-workstation: 3.3 -> 3.4
- [683f3745](683f374529) nixos/wireguard: don't use alias
- [2b2f6cf3](2b2f6cf361) mill: 0.9.3 -> 0.9.5
- [877dc284](877dc28455) pika-backup: 0.2.1 -> 0.2.2
- [a710de55](a710de5592) github-backup: init at 0.39.0 ([NixOS/nixpkgs⁠#116976](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/116976))
- [7dfc2d26](7dfc2d269b) doc: improve Python section ([NixOS/nixpkgs⁠#116344](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/116344))
- [e264b3cb](e264b3cb14) cen64: unstable-2020-02-20 -> unstable-2021-03-12
- [31439b83](31439b8316) slowhttptest: init at 1.8.2
- [14efa32f](14efa32fa5) chromiumDev: 91.0.4449.6 -> 91.0.4455.2
- [d87bbeb7](d87bbeb724) coursier: 2.0.15 -> 2.0.16
- [bac80b5a](bac80b5af2) python3Packages.botocore: 1.20.33 -> 1.20.34
- [27d4f20c](27d4f20c97) python3Packages.boto3: 1.17.33 -> 1.17.34
- [7014daec](7014daec3d) awscli: 1.19.33 -> 1.19.34
- [60b490b8](60b490b83f) linux-hardened: Switch to 5.11
- [09406084](09406084bd) linux-hardened: Fix page poisoning for 5.11
- [5500cb51](5500cb5145) python3Packages.aiosmb: init at 0.2.37
- [daa21e09](daa21e098f) python3Packages.pypykatz: 0.4.3 -> 0.4.7
- [7865db27](7865db274b) ghostwriter: 2.0.0-rc4 -> 2.0.0-rc5
- [873c008c](873c008c33) vscode: fix download link
- [5efaab8a](5efaab8ad6) jbang: 0.68.0 -> 0.69.1
- [e485ab8c](e485ab8ce5) gitAndTools.git-machete: 3.0.0 -> 3.1.0
- [a07fc25d](a07fc25d56) gnomeExtensions.sound-output-device-chooser: 32 -> 35
- [877c0704](877c070415) python3Packages.hdbscan: unbreak
- [f3a032de](f3a032dee5) nixos/mastodon: enable sandbox mode
- [1cb4599c](1cb4599c1c) minio-client: 2021-03-12T03-36-59Z -> 2021-03-23T05-46-11Z
- [3cd3e316](3cd3e3167c) python3Packages.prance: unbreak
- [66d2e53a](66d2e53a33) python3Packages.numtraits: remove
- [ac977c31](ac977c317d) python3Packages.onnx: fix build
- [c6a36771](c6a367715f) sphinx-autobuild: Use correct package
- [a62e67c0](a62e67c09e) sphinx-autoload: Fix typo in maintainers
- [d768698b](d768698b1f) nuclei: 2.3.1 -> 2.3.2
- [3071774c](3071774c90) go-task: rename executable to task ([NixOS/nixpkgs⁠#117455](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117455))
- [99d1a176](99d1a176fc) python3Packages.cherrypy: unbreak
- [ea1f6bb0](ea1f6bb07f) terragrunt: 0.28.15 -> 0.28.16 ([NixOS/nixpkgs⁠#117493](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117493))
- [6cfb9c85](6cfb9c85e3) python3Packages.awkward0: 0.15.2 -> 0.15.5 ([NixOS/nixpkgs⁠#117397](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117397))
- [f63b63b6](f63b63b621) python3Packages.piep: disable
- [2dbe099c](2dbe099c0d) bumpver: 2020.1108 -> 2021.1110
- [27ac5016](27ac5016d7) terraform-providers.yandex: 0.40.0 -> 0.54.0
- [fc3227e6](fc3227e698) nixUnstable: add util-linuxMinimal to nativeBuildInputs
- [1d3f0537](1d3f053790) nixUnstable: skip flakey tests/ca/substitute.sh
- [bb1b18aa](bb1b18aabb) rtsp-simple-server: 0.15.0 -> 0.15.1
- [f815b51a](f815b51af2) prs: 0.2.4 -> 0.2.5
- [6aa079e2](6aa079e2dd) youtube-dl: 2021.03.14 -> 2021.03.25
- [082d8316](082d8316b0) sniffglue: 0.11.1 -> 0.12.0
- [ecc9070c](ecc9070c1a) zziplib: fix missing links on darwin
- [cee53251](cee5325124) terraform-docs: 0.11.2 -> 0.12.0 ([NixOS/nixpkgs⁠#117525](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117525))
- [6e2ec95d](6e2ec95de8) terraform_0_14: 0.14.8 -> 0.14.9 ([NixOS/nixpkgs⁠#117522](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117522))
- [edcf4d69](edcf4d694f) sniffglue: specify license
- [5e647319](5e647319ae) less.nix: fix escape
- [7a09d090](7a09d09030) python3Packages.solaredge: init at 0.0.4
- [fc690050](fc6900503c) home-assistant: update component-packages
- [70cb86a6](70cb86a618) home-assistant: enable solaredge tests
- [830a55d2](830a55d208) sops: 3.6.1 -> 3.7.0
- [5a30b638](5a30b6382b) python38Packages.pyxnat: unbreak
- [fb668e1d](fb668e1df1) python3Packages.PyICU: 2.3.1 -> 2.6
- [ff4b36fd](ff4b36fdce) _1password-gui: 8.0.28 -> 8.0.30
- [219ee8d0](219ee8d091) release notes: typo fixes ([NixOS/nixpkgs⁠#117539](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117539))
- [1d671fd0](1d671fd0dc) ajour: 0.7.2 -> 1.0.0
- [326445a4](326445a4d6) wrangler: fix darwin build
- [44dde3da](44dde3daa9) maintainers: add vrinek
- [c9bde8e5](c9bde8e5f7) jellyfin-mpv-shim: 1.10.0 -> 1.10.1
- [28781f90](28781f9097) crate2nix: use sourceRoot, so that src is a proper derivation
- [2589e928](2589e928c3) teamspeak_server: 3.13.2 -> 3.13.3
- [651bf7fd](651bf7fd08) amd-blis: 2.2 -> 3.0
- [cbd89b2a](cbd89b2a5f) ytfzf: 1.1.0 -> 1.1.1
- [f8043eb8](f8043eb8bf) spotify-unwrapped: 1.1.46.916.g416cacf1 -> 1.1.55.494.gca75f788 ([NixOS/nixpkgs⁠#116805](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/116805))
- [4a354385](4a354385d4) python3Packages.python-miio: 0.5.5.1 -> 0.5.5.2
- [3c486fb5](3c486fb51c) procs: fix darwin build ([NixOS/nixpkgs⁠#117559](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117559))
- [89f9aa9f](89f9aa9f66) kaput-cli: init at 1.1.1
- [2c821d6b](2c821d6b99) jamulus: clarify gpl2Plus; update github owner ([NixOS/nixpkgs⁠#117558](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117558))
- [db9b2d58](db9b2d58a3) bazarr: 0.9.0.8 -> 0.9.2 ([NixOS/nixpkgs⁠#115949](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/115949))
- [7cba7fe1](7cba7fe18a) stagit: 0.9.4 → 0.9.5
- [a4456496](a4456496ee) julia: add update script, and 1.5.3 -> 1.5.4 ([NixOS/nixpkgs⁠#116466](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/116466))
- [9ce0619e](9ce0619e24) gpxsee: 8.8 -> 8.9 ([NixOS/nixpkgs⁠#117566](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/117566))
2021-03-30 14:19:00 +02:00
2021-01-23 17:15:48 +01:00
2021-01-23 17:15:48 +01: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%