github-actions[bot] 41f8c53d2c flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - db6e0894 -> 90cbe950
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: db6e089456...90cbe95037

- [2151e87d](2151e87d56) chia: 1.2.0 -> 1.2.1
- [2f5679a4](2f5679a476) python3Packages.garminconnect-ha: 0.1.6 -> 0.1.13
- [cfc749e5](cfc749e5b4) digikam: 7.2.0 -> 7.3.0
- [4112eb27](4112eb273e) cosign: 0.5.0 -> 0.6.0
- [6f0f3940](6f0f39400d) drone: 2.0.0 -> 2.0.3
- [c45c6acb](c45c6acbfe) maintainers: add nickcao
- [cf06420c](cf06420c47) k0sctl: init at 0.9.0
- [8ef45e7a](8ef45e7a25) plex: 1.23.3.4707-ebb5fe9f3 -> 1.23.4.4805-186bae04e
- [9e18ae43](9e18ae4302) git-vendor: 1.2.1 -> 1.2.2
- [98ba3939](98ba393909) gmnitohtml: init at 0.1.1
- [df3aa47c](df3aa47c5a) icingaweb2: 2.8.2 -> 2.8.3
- [428d2a2f](428d2a2f51) kicad-unstable: 2021-05-16 -> 2021-07-12
- [0e6d1869](0e6d186906) kicad-unstable: needs python
- [3e5c6c24](3e5c6c24d6) jrsonnet: 0.4.1 -> 0.4.2
- [852af2e8](852af2e84f) buf: 0.43.2 -> 0.44.0
- [70002f24](70002f24a5) bat: 0.18.1 -> 0.18.2
- [a07a62d2](a07a62d26d) mutt: 2.1.0 -> 2.1.1
- [f082c435](f082c435dd) apostrophe: fix HTML export by referencing fira fonts from store
- [2d3a92e9](2d3a92e944) lowdown: 0.8.4 -> 0.8.5
- [64f7cb57](64f7cb574a) flann: refactor ([NixOS/nixpkgs⁠#129491](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129491))
- [885cae9d](885cae9dfb) remmina: 1.4.13 -> 1.4.20
- [8b055178](8b055178de) matrix-synapse: 1.37.1 -> 1.38.0
- [9caefab5](9caefab5aa) deno: 1.11.5 -> 1.12.0
- [22812f4b](22812f4bec) buf: add patch comment
- [25eb6344](25eb6344d0) go_1_15: 1.15.13 -> 1.15.14
- [4695639f](4695639fde) go_1_16: 1.16.5 -> 1.16.6
- [2ff6e037](2ff6e037a9) icingaweb2: 2.8.3 -> 2.9.0
- [4a30039b](4a30039b27) pijul: 1.0.0-alpha.50 → 1.0.0-alpha.52
- [aae29c6e](aae29c6e10) icingaweb2-ipl: Init at 0.6.0
- [3af5d881](3af5d881e0) icingaweb2-thirdparty: Init at 0.10.0
- [6d203a68](6d203a68c6) nixos/icingaweb2: Add ipl and thirdparty libraries
- [95172d9e](95172d9ebe) idutils: fix by using latest gnulib
- [1d8caaff](1d8caaff1c) xprintidle-ng: latest gnulib requires autoconf 2.64
- [8f68b7c1](8f68b7c15d) lbzip2: latest gnulib requires autoconf 2.64
- [7128fc62](7128fc621d) grub: latest gnulib requires autoconf 2.64
- [66ef9b55](66ef9b55f0) grub2: needs older version of gnulib
- [030b3e5a](030b3e5a12) gnulib: update to latest version from savanah
- [21f41d8b](21f41d8b33) nixos/ddclient: add support for IPv6
- [f4a523bc](f4a523bc9c) vimPlugins.onedark-vim: set branch to main
- [8fd35a32](8fd35a326d) vimPlugins: update
- [242c2dd8](242c2dd8e5) vimPlugins.tokyonight-nvim: init at 2021-07-09
- [322654b8](322654b880) factorio-experimental: 1.1.35 -> 1.1.36
- [54ec249b](54ec249bbe) rofi-vpn: init at 0.2.0
- [9cff3c55](9cff3c556f) thunderbird-bin: 78.11.0 -> 78.12.0
- [db3297a0](db3297a081) thunderbird: 78.11.0 -> 78.12.0
- [55a60de2](55a60de2ac) remove va1entin as maintainer
- [2913fceb](2913fceb38) polybar: use config.pulseaudio to activate pulseaudio
- [05447d62](05447d62f9) polybar: format
- [264cfed1](264cfed1b4) texlive: remove empty list
- [decadbb6](decadbb63a) termius: switch to a official source
- [b3f974ee](b3f974ee08) delta: 0.8.2 -> 0.8.3
- [4b4c8650](4b4c8650a8) xorgserver: override build OS name
- [eeb810d9](eeb810d943) python3Packages.archinfo: 9.0.8761 -> 9.0.9031
- [a12662eb](a12662eba8) python3Packages.ailment: 9.0.8761 -> 9.0.9031
- [bc4acb5b](bc4acb5bb0) python3Packages.pyvex: 9.0.8761 -> 9.0.9031
- [c36a4169](c36a4169cf) python3Packages.claripy: 9.0.8761 -> 9.0.9031
- [700bcad8](700bcad84d) python3Packages.cle: 9.0.8761 -> 9.0.9031
- [c9c530fb](c9c530fb3a) hexyl: 0.8.0 -> 0.9.0
- [2da9ae84](2da9ae847c) pythonPackages.push_receiver: init at 0.1.1
- [b541e761](b541e76166) python3Packages.pyupgrade: 2.20.0 -> 2.21.0
- [9cecae1b](9cecae1bc5) temporal: init 1.10.5 ([NixOS/nixpkgs⁠#130099](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130099))
- [3d260a2d](3d260a2d0e) libsForQt5.kimageformats: fix CVE-2021-36083 ([NixOS/nixpkgs⁠#130115](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130115))
- [30ce6d8a](30ce6d8a0c) kfctl: init at 1.2.0
- [0fcc0e97](0fcc0e972c) zola: 0.13.0 -> unstable-2021-07-10 ([NixOS/nixpkgs⁠#129956](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129956))
- [4b04945c](4b04945c63) yandex-browser: init at 21.5.3.753-1 ([NixOS/nixpkgs⁠#128940](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128940))
- [dfe4ec8f](dfe4ec8f17) vk-cli: init at 0.7.6 ([NixOS/nixpkgs⁠#128906](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/128906))
- [b312fdc6](b312fdc626) orocos-kdl: 1.5.0 propagation fix
- [0f236088](0f236088ee) libproxy: Make JavaScript optional
- [48db86f4](48db86f42c) gnomeExtensions: Remove remove-dropdown-arrows
- [6aae2894](6aae2894ef) gnomeExtensions: rename uuid field to extensionUuid
- [f96ee10c](f96ee10c88) open-vm-tools: 11.2.5 -> 11.3.0 ([NixOS/nixpkgs⁠#129978](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129978))
- [bffbf461](bffbf4617a) gnomeExtensions: integrate manually packaged extensions better with the others
- [5128ec5f](5128ec5f06) gnomeExtensions.workspace-matrix: Remove manual packaging
- [ba3562ed](ba3562ed09) gnomeExtensions.window-is-ready-remover: Remove manual packaging
- [c5aa58a0](c5aa58a015) gnomeExtensions.timepp: Remove manual packaging
- [33cf6530](33cf6530fe) gnomeExtensions.noannoyance: Remove manual packaging
- [ee5b47ec](ee5b47ecc2) gnomeExtensions.mpris-indicator-button: Remove manual packaging
- [9dcb9aec](9dcb9aecc1) gnomeExtensions.material-shell: Remove manual packaging
- [8dd60244](8dd6024493) gnomeExtensions.hot-edge: Remove manual packaging
- [a4d668bc](a4d668bc07) gnomeExtensions: Remove gtile
- [2e0ffbe7](2e0ffbe754) gnomeExtensions.draw-on-your-screen: Remove manual packaging
- [1149365f](1149365fd0) gnomeExtensions.disable-unredirect: Remove manual packaging
- [1d1a4981](1d1a498111) gnomeExtensions.clipboard-indicator: Remove manual packaging
- [e7d7df79](e7d7df799f) gnomeExtensions.dynamic-panel-transparency: Remove manual packaging
- [3c85c0c9](3c85c0c975) gnomeExtensions.appindicator: Remove manual packaging
- [388a4ef4](388a4ef423) treewide: convert all links git.archlinux.org to github.com/archlinux/svntogit-*
- [4d581620](4d581620e2) vscodium: 1.58.0 -> 1.58.1
- [b7a7969c](b7a7969c1a) layan-gtk-theme: init at 2021-06-30 ([NixOS/nixpkgs⁠#130064](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130064))
- [aab4b6b4](aab4b6b493) rdiff-backup: 1.3.3 -> 2.0.5
- [39682c11](39682c1109) dqlite: 1.7.0 -> 1.8.0
- [77898696](77898696a8) lxd: 4.15 -> 4.16
- [e14c2459](e14c245934) flake/lib.nixosSystem: add `_file`-keys for error-location
- [a14985cd](a14985cd28) ipxe: allow building on aarch64
- [2668c758](2668c75886) ipxe: fix installPhase and license
- [702a1c23](702a1c23a4) nixos/test-driver: allow overriding qemu binary in create_startcommand
- [930daac3](930daac345) nixos/boot: test on aarch64
- [86bb1290](86bb129011) glfw: add version with wayland support ([NixOS/nixpkgs⁠#129367](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129367))
- [d3bc5d5b](d3bc5d5b7a) discourse.plugins: Update and add metadata
- [3300282d](3300282db3) discourse: Add `update-plugins` action to update.py
- [eb122119](eb122119a0) discourseAllPlugins: Provide a discourse derivation with all plugins
- [20548f05](20548f050e) nixos/discourse: Update plugin documentation
- [a2dbc3af](a2dbc3af1d) discourse: Remove architecture bound platforms from Gemfile.lock
- [61f4429f](61f4429fbd) discourse: Use `terser` when building assets
- [60d78d7f](60d78d7f1f) discourse: 2.7.4 -> 2.7.5
- [96a37990](96a3799050) chromiumDev: 93.0.4557.4 -> 93.0.4573.0
- [7ea06383](7ea0638338) grepm: deprecate phases
- [339365aa](339365aa67) pdfdiff: deprecate phases
- [090638e1](090638e14e) borgbackup: only include pyfuse3 when not on darwin
- [91932cbd](91932cbdfa) sublime3/4: deprecate phases ([NixOS/nixpkgs⁠#130169](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/130169))
- [d44ce53e](d44ce53e07) svtplay-dl: 4.0 -> 4.1
- [cf8defb1](cf8defb1dd) nodejs-16_x: 16.4.2 -> 16.5.0
- [644b656d](644b656d09) starship: 0.55.0 -> 0.56.0
- [895e757e](895e757e86) reviewdog: 0.11.0 -> 0.12.0
- [cdf9e86a](cdf9e86ad1) leo3-bin: deprecate phases
- [7cae0551](7cae055159) steamPackages.steam-runtime: 20210527.0 -> 20210630.0
- [8a815af4](8a815af428) citrix-workspace: 21.03.0 -> 21.06.0
- [d75b67bf](d75b67bfa4) rebar3: skip failing tests on M1 chip
- [145a3d08](145a3d084a) nixos/snapraid: init
- [c612c5a5](c612c5a555) ngrok: fix build on aarch64-darwin
- [43422fc8](43422fc81c) tfsec: 0.45.3 -> 0.48.2
- [c2554088](c255408808) exploitdb: 2021-07-10 -> 2021-07-14
- [202cd8e9](202cd8e94b) python3Packages.angrop: 9.0.8761 -> 9.0.9031
- [9c1c556d](9c1c556dcf) python3Packages.nampa: init at 1.0
- [8a80d965](8a80d96506) python3Packages.angr: 9.0.8761 -> 9.0.9031
- [2463620f](2463620fc2) nixos/vaultwarden: make package configurable ([NixOS/nixpkgs⁠#113216](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/113216))
- [682d097e](682d097e0f) open-policy-agent: 0.30.0 -> 0.30.2
- [208fc927](208fc927f5) pythonPackages.simanneal: 0.4.2 -> 0.5.0
- [b1d1ecb7](b1d1ecb7f1) python3Packages.pure-eval: 0.1.0 -> 0.2.1
- [46e3102d](46e3102da1) python3Packages.stack-data: 0.0.7 -> 0.1.0
- [6c4e15b2](6c4e15b2c2) flashfocus: 2.2.2 -> 2.2.3
- [e57571bd](e57571bdb6) gappa: 1.3.5 → 1.4.0
- [aee00346](aee00346d8) ocamlPackages.bls12-381 ([NixOS/nixpkgs⁠#129509](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129509))
- [d873c3d4](d873c3d4dc) nodePackages: Add jsonplaceholder
- [0f4cee58](0f4cee585a) ocamlPackages.resto: init at 0.6.1 ([NixOS/nixpkgs⁠#129522](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129522))
- [204f7dc3](204f7dc335) ocamlPackages.irmin: 2.6.0 -> 2.7.1 ([NixOS/nixpkgs⁠#129434](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/129434))
- [d9808563](d980856325) nodePackages: Regenerate
- [6050b707](6050b7079d) cypress.tests.example: Generate files
- [5bf31fbb](5bf31fbb6d) cypress.tests.example: init
- [9332afa7](9332afa7d3) cypress: Format with nixpkgs-fmt
- [1a81de7c](1a81de7c72) signal-desktop: 5.8.0 -> 5.9.0
- [b22b804e](b22b804e67) chromiumBeta: 92.0.4515.93 -> 92.0.4515.101
- [e22bd598](e22bd59820) nixos/xwayland: Correctly set the default package
- [0e06fbbf](0e06fbbfa0) the-powder-toy: 95.0 -> 96.0.348
2021-07-27 14:56:47 +02:00
2021-06-29 23:06:23 +02:00
2021-05-21 00:15:09 +02:00
2019-10-23 13:25:43 +02:00
2021-06-29 23:06:23 +02: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%