github-actions[bot] 7970886341 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 8ba90bbc -> ba6ba2b9 (#359)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 8ba90bbc63...ba6ba2b900

- [74adcac5](74adcac57c) python310Packages.aiolifx-themes: 0.3.0 -> 0.4.0
- [acbe5771](acbe577109) python310Packages.types-python-dateutil: 2.8.19.4 -> 2.8.19.5
- [435b8a6d](435b8a6d63) python310Packages.types-pytz: 2022.6.0.1 -> 2022.7.0.0
- [49836f4b](49836f4b8d) python310Packages.types-redis: 4.3.21.3 -> 4.3.21.6
- [0e23c91f](0e23c91f08) python310Packages.types-typed-ast: 1.5.8.1 -> 1.5.8.3
- [2198c022](2198c022f8) gitlab: 15.6.1 -> 15.6.2
- [8aeaaac2](8aeaaac239) gitlab: workaround: remove attr_encrypted gem from rubyEnv
- [f7089f73](f7089f73c0) python310Packages.yfinance: add changelog to meta
- [3c5393bf](3c5393bfdb) python310Packages.yfinance: 0.1.77 -> 0.1.80
- [62ab4cee](62ab4ceea4) python310Packages.yfinance: 0.1.80 -> 0.1.82
- [e556617f](e556617f91) python310Packages.yfinance: 0.1.82 -> 0.1.83
- [b64b52c0](b64b52c007) python310Packages.yfinance: 0.1.83 -> 0.1.85
- [4fdaf109](4fdaf1097e) python310Packages.yfinance: 0.1.85 -> 0.1.86
- [9c27ba31](9c27ba3135) python310Packages.yfinance: 0.1.86 -> 0.1.89
- [b3c7a238](b3c7a238dd) python310Packages.yfinance: 0.1.89 -> 0.1.90
- [89dc2434](89dc2434b4) python310Packages.yfinance: 0.1.90 -> 0.1.91
- [3f74b2b6](3f74b2b67e) python310Packages.yfinance: 0.1.91 -> 0.1.92
- [36da2f61](36da2f615f) python310Packages.yfinance: 0.1.92 -> 0.1.93
- [41456d91](41456d9118) python310Packages.tweepy: add changelog to meta
- [5b7c3a32](5b7c3a3270) python310Packages.tweepy: 4.12.0 -> 4.12.1
- [e4dc6cb9](e4dc6cb94a) python310Packages.python-engineio: add changelog to meta
- [24c01b4d](24c01b4df5) python310Packages.python-socketio: add changelog to meta
- [9cf8875a](9cf8875ab0) python39Packages.tpm2-pytss: 1.2.0 -> 2.0.0
- [fba6c4a9](fba6c4a986) python310Packages.python-socketio: 5.7.1 -> 5.7.2
- [d03e4fe4](d03e4fe4d5) ocamlPackages.xenstore_transport: minor cleaning
- [0a95411b](0a95411b71) ocamlPackages.xenstore: 2.1.1 → 2.2.0
- [07589a63](07589a631c) python310Packages.tpm2-pytss: add changelog to meta
- [9c8472b0](9c8472b021) python310Packages.ripe-atlas-cousteau: add changelog to meta
- [38ddf5a4](38ddf5a423) python310Packages.ripe-atlas-cousteau: adjust python-socketio input
- [7503cafe](7503cafe00) python39Packages.tabula-py: 2.5.1 -> 2.6.0
- [4a120995](4a12099503) enlightenment.terminology: 1.12.1 -> 1.13.0
- [016553e5](016553e5c3) duplicacy: 3.0.1 -> 3.1.0
- [a9e3b1c0](a9e3b1c0f2) nixos/usbmuxd: Ability to change package
- [aa92b04c](aa92b04cac) uniffi-bindgen: 0.21.0 -> 0.22.0
- [e37ef84b](e37ef84b47) sbt-extras: 2022-10-17 -> 2022-11-11 ([NixOS/nixpkgs⁠#199112](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/199112))
- [727e715e](727e715e1c) synology-drive-client: 3.1.0-12923 -> 3.2.0-13258
- [2c8f296b](2c8f296b37) python310Packages.versioneer: add changelog to meta
- [04ebf457](04ebf457ae) python310Packages.versioneer: 0.26 -> 0.27
- [08a508da](08a508da5d) python310Packages.versioneer: 0.27 -> 0.28
- [16e4fc2b](16e4fc2b25) pyparsing: refactor
- [ff17e998](ff17e9982d) pulumiPackages.pulumi-language-nodejs: 3.47.0 -> 3.49.0
- [247defe5](247defe599) linux-firmware: 20221109 -> 20221214
- [4ce47012](4ce47012a6) nixos/nix-ld: set NIX_LD by default
- [aa65dd12](aa65dd1225) nix-ld: 1.0.2 -> 1.0.3
- [3fca3bc7](3fca3bc7e7) python310Packages.w3lib: add changelog to meta
- [6ec77211](6ec77211c7) python310Packages.w3lib: 2.0.1 -> 2.1.1
- [3ff39f98](3ff39f984f) supabase-cli: init at 1.27.0
- [9f7f6fdc](9f7f6fdcb9) arc-theme: 20220405 -> 20221218
- [69e8c713](69e8c7131d) gitlab-runner: 15.5.1 -> 15.7.1
- [92cdce93](92cdce9326) prismlauncher: 6.0 -> 6.1
- [d0be85dd](d0be85dd11) imagemagick: 7.1.0-54 -> 7.1.0-55
- [d994daba](d994dabace) treewide: remove git-and-tools directory
- [8ea4892e](8ea4892e39) tio: 2.4 -> 2.5
- [36f2ac48](36f2ac4895) dumb-init: fix musl
- [ffc203e4](ffc203e4ba) python310Packages.scrapy: disable failing tests
- [2c1e43dd](2c1e43dd75) {libqalculate, qalculate-gtk, qalculate-qt}: 4.4.0 -> 4.5.0
- [3fdb6c5a](3fdb6c5a90) dotnetCorePackages: move systemToDotnetRid out of sdk
- [06e4d899](06e4d89943) build-dotnet-module: strip --runtime flags without using rid
- [507eff88](507eff880d) build-dotnet: make passthru.packages a derivation
- [f6cb288f](f6cb288fff) omnisharp-roslyn: set runtime flag instead of patching project
- [62ecb39a](62ecb39a1f) buildDotnetModule: run tests on projectFile if testProjectFile is unset
- [4c861dd2](4c861dd26c) build-dotnet-module: add useAppHost parameter so it can be disabled
- [858da95d](858da95dc0) github-runner: use fake HOME in dependency fetcher
- [13861970](13861970f4) treewide: update all dotnet lockfiles
- [824d40aa](824d40aa04) build-dotnet-module: restore for current runtime by default
- [627cbab3](627cbab3f4) dotnet: add windows RIDs to systemToDotnetRid
- [265690e3](265690e335) gfxreconstruct: init at 0.9.15
- [b8ea64d6](b8ea64d6ac) openrct2: 0.4.2 -> 0.4.3
- [6f172932](6f1729326a) resholve: 0.8.3 -> 0.8.4
- [6ecf1403](6ecf1403e3) rtl88x2bu: 2022-08-18 -> 2022-12-17
- [c546c682](c546c68212) snapper: 0.10.3 -> 0.10.4
- [4f87a148](4f87a14804) python310Packages.casbin: add changelog to meta
- [05bbf2aa](05bbf2aa96) python310Packages.casbin: 1.17.4 -> 1.17.5
- [7609d9d9](7609d9d94b) python310Packages.hahomematic: 2022.12.4 -> 2022.12.5
- [17d75b32](17d75b3205) python310Packages.hahomematic: 2022.12.5 -> 2022.12.6
- [50c3204e](50c3204e89) maintainers: add Math-42
- [0c28043e](0c28043e19) tut: 1.0.25 -> 1.0.26
- [083debc2](083debc290) open-pdf-sign: init at 0.1.0
- [d410c735](d410c73592) tcsh: 6.24.00 -> 6.24.06
- [3c346b0d](3c346b0d32) vimPlugins: add glacambre/firenvim
- [813a0ef8](813a0ef809) lighthouse: fix validator service not setting arguments properly
- [726ab86a](726ab86a09) python310Packages.lupupy: 0.2.3 -> 0.2.4
- [ecafd2ac](ecafd2ac27) vimPlugins: update
- [db01e7b2](db01e7b220) grap: init at 1.3.1 ([NixOS/nixpkgs⁠#114129](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/114129))
- [80229b0f](80229b0f42) python39Packages.tabula-py: add changelog to meta
- [07e9140c](07e9140c54) python310Packages.atenpdu: 0.3.6 -> 0.4.0
- [d579742a](d579742a47) all-packages.nix: small reorder
- [adb83363](adb8336300) git-branchstack: init at 0.2.0
- [669f0193](669f019379) npmHooks.npmConfigHook: make diagnostic match prefetch-npm-deps
- [86538706](865387061f) npmHooks.npmBuildHook: fix diagnostic
- [b2c37012](b2c370128e) sq: 0.15.11 -> 0.16.0
- [6a08bcf1](6a08bcf1d5) haskell-modules/configuration-common.nix: Bring fetchpatch2 into scope
- [50da2249](50da224979) hercules-ci-agent: Patch for cachix 1.1
- [b81c610a](b81c610ae4) cachix: Make sure hercules-ci-agent builds
- [19ae6066](19ae60662f) gruvbox-gtk-theme: init at unstable-2022-12-09
- [1173a67d](1173a67dab) gosu: 1.14 -> 1.16
- [e24cb69a](e24cb69a7b) vimPlugins.nvim-treesitter: update grammars
- [dc1e4545](dc1e45450e) d2: 0.1.1 -> 0.1.2
- [65372c3e](65372c3e3b) changie: 1.10.1 -> 1.10.2
- [39c33211](39c33211ff) spotdl: 3.9.6 -> 4.0.6
- [bb4a7350](bb4a735053) python310Packages.elegy: use poetry-core
- [ea350425](ea3504250f) python310Packages.ytmusicapi: 0.24.0 -> 0.24.1
- [4b52f3cd](4b52f3cd76) abcm2ps: 8.14.13 -> 8.14.14
- [cdf2733f](cdf2733f7e) python310Packages.pytube: 12.1.0 -> 12.1.2
- [c776cfeb](c776cfebdd) python310Packages.xsdata: 22.11 -> 22.12
- [2c690264](2c6902644d) python310Packages.huawei-lte-api: 1.6.7 -> 1.6.9
- [921133b7](921133b7ec) python310Packages.ical: 4.2.3 -> 4.2.5
- [ecdbd2a3](ecdbd2a3fa) doc: remove missing arg from emulateApp example
- [8851f074](8851f074f8) androidenv: fix non-existent emulatorVersion
- [14c7a301](14c7a30161) androidenv: fix missing `inherit os`
- [84edcb0b](84edcb0b64) dmenu-rs: init at 5.5.1
- [081a6cbc](081a6cbc9f) python310Packages.google-cloud-monitoring: 2.11.3 -> 2.12.0
- [7ab9e126](7ab9e126b3) python310Packages.traitsui: 7.4.1 -> 7.4.2
- [3b1cb067](3b1cb06732) ocamlPackages.pythonlib: 0.15.0 → 0.15.1
- [3b46a12a](3b46a12aba) python310Packages.appthreat-vulnerability-db: 4.2.0 -> 4.3.0
- [af256922](af25692214) nixos/stage-1: Examine binaries for libraries in a consistent order
- [842df762](842df7623e) rtw89: unstable-2021-10-21 -> unstable-2022-12-18
- [674ff7ab](674ff7aba8) ctlptl: 0.8.12 -> 0.8.15
- [c690067f](c690067fec) garamond-libre: init at 1.4
- [ce542474](ce54247426) thedesk: 23.0.1 -> 23.0.3
- [3f5cd408](3f5cd408bb) alfaview: 8.57.0 -> 8.58.2
- [440119b1](440119b178) odo: 3.3.0 -> 3.4.0
- [2af73e36](2af73e365e) tailscale: 1.34.0 -> 1.34.1
- [238f5a23](238f5a2366) cyberchef: 9.49.0 -> 9.55.0
- [f8208c45](f8208c4565) vale: 2.21.2 -> 2.21.3
- [e1d8b234](e1d8b23484) operator-sdk: 1.25.3 -> 1.26.0
- [66a0a384](66a0a3842c) python310Packages.ansible-later: add changelog to meta
- [be8d3f71](be8d3f7142) python310Packages.ansible-later: 2.0.23 -> 3.0.1
- [ac66bd13](ac66bd13ee) python310Packages.labelbox: 3.24.1 -> 3.33.1
- [ba962cc4](ba962cc4bb) electron: add missing wayland runtimeDependency ([NixOS/nixpkgs⁠#206978](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/206978))
- [8fd8a3ab](8fd8a3aba1) python39Packages.tablib: update disabled
- [8ccd9853](8ccd98536a) python310Packages.tablib: use optional-dependencies
- [6dc44378](6dc44378f4) Revert "mimir: 2.4.0 -> 2.5.0"
- [5c3b1167](5c3b11677a) fstar: add update script
- [762426b0](762426b0dc) fstar: 2022.01.15 -> 2022.11.19
- [8b9debd7](8b9debd7e8) esphome: 2022.12.1 -> 2022.12.3
- [9198cd9e](9198cd9e74) python310Packages.websockets: add changelog to meta
- [eb37a7f6](eb37a7f663) python310Packages.websockets: 10.3 -> 10.4
- [47d01b89](47d01b89e2) cargo-pgx: 0.6.0 -> 0.6.1
- [6a96a8cb](6a96a8cb20) opam2json: v0.2 -> v0.4
- [8b5deda7](8b5deda7d8) lib/strings: replace poop emoji ([NixOS/nixpkgs⁠#206999](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/206999))
- [3d4687c6](3d4687c6cd) terrascan: 1.17.0 -> 1.17.1
- [be841aaf](be841aaf45) terrrascan: add changelog to meta
- [1bf3622e](1bf3622e48) iay: init at v0.4.0
- [ca058e37](ca058e37a6) sabnzbd: 3.7.0 -> 3.7.1
- [1c3de7e3](1c3de7e308) kicad-unstable: 2022-09-18 -> 2022-12-19
- [8a6772fe](8a6772fee6) kicad: bunch of cleanup
- [2c2f1519](2c2f1519b5) kicad: 6.0.9 -> 6.0.10
- [259e70f3](259e70f3ea) mimir: drop left-overs from last revert
- [62795930](6279593053) mimir: 2.4.0 -> 2.5.0
- [ba6ba2b9](ba6ba2b900) mimir: add update script

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-23 01:27:22 +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%