github-actions[bot] 0b8d79ce64 flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 72d88532 -> 3a86856a (#337)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 72d8853228...3a86856a13

- [c3717875](c371787587) jwasm: 2.15 -> 2.16
- [f7bed8cd](f7bed8cd44) nixos/nginx: fix default listen port options
- [ad351809](ad35180922) appthreat-depscan: 2.2.1 -> 2.3.0
- [946634f5](946634f56d) kubecolor: 0.0.20 -> 0.0.21
- [b54257fb](b54257fb36) linkFarm: add entries to passthru
- [a93aed5b](a93aed5bab) linkFarm: allow entries to be an attrset
- [845038dc](845038dc31) protonvpn-gui: add meta.mainProgram
- [0dd4e5e1](0dd4e5e12b) jenkins: 2.361.3 -> 2.361.4
- [eee76d2b](eee76d2b66) python310Packages.pikepdf: 6.2.2 -> 6.2.4
- [3380742d](3380742d55) python310Packages.pysvn: 1.9.12 -> 1.9.18
- [63825986](6382598677) linkFarm: make last entry win in case of list repeats
- [43bf542c](43bf542ccd) tests.trivial-builders.linkFarm: init
- [085e3f41](085e3f41c9) ruff: 0.0.119 -> 0.0.120
- [4a599be7](4a599be775) lunatic: 0.10.1 -> 0.12.0
- [a428cc4a](a428cc4a2d) cargo-raze: 0.12.0 -> 0.16.0
- [9a2f7b87](9a2f7b878c) librewolf: 106.0.3-1 -> 107.0-1
- [b97cda7d](b97cda7d44) mpv-unwrapped: 0.34.1 -> 0.35.0
- [d951688f](d951688f80) addlicense: unstable-2021-04-22 -> 1.1.0
- [3b6c0372](3b6c0372c8) consul: 1.13.3 -> 1.14.0
- [75143fad](75143fad73) yq-go: 4.30.1 -> 4.30.4
- [d145c522](d145c5222b) terraria-server: 1.4.4.2 -> 1.4.4.8.1
- [4e4a021f](4e4a021fd7) d-seams: fix failing builds
- [3a98554c](3a98554ce6) netatalk: refactor
- [651cc63d](651cc63d4d) ruff: 0.0.120 -> 0.0.121
- [acecd1ec](acecd1ec7b) Revert "nixos: Fix fsck with systemd 251.6 and later"
- [b28ecff1](b28ecff1e6) nixos: Add util-linux to systemd PATH to fix fsck with systemd 251.6
- [fd019e44](fd019e4495) python310Packages.pushover-complete: enable tests
- [bbea26a3](bbea26a395) python310Packages.ibm-watson: remove not required tox requirement
- [2505b572](2505b57295) micronaut: 1.3.7 -> 3.7.2 ([NixOS/nixpkgs⁠#197945](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/197945))
- [da3200b7](da3200b7b6) Revert "gplates: fix failing build"
- [61aa1a26](61aa1a2664) python310Packages.dill: add passthru tests
- [639550cc](639550cc2e) matcha-gtk-theme: 2022-06-07 -> 2022-11-15 ([NixOS/nixpkgs⁠#201410](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/201410))
- [c54a8f58](c54a8f58b4) pantheon.elementary-calendar: 6.1.1 -> 6.1.2
- [61d4e5b8](61d4e5b865) pantheon.elementary-files: 6.2.0 -> 6.2.1
- [e6dfda0f](e6dfda0f19) Revert "unifi-poller: 2.1.3 -> 2.1.7"
- [b37c519c](b37c519c1a) pantheon.elementary-photos: 2.7.5 -> 2.8.0
- [09473b44](09473b448d) python310Packages.miniaudio: 1.54 -> 1.55
- [b18da0df](b18da0dfe8) pantheon.elementary-greeter: 6.1.0 -> 6.1.1
- [51244a00](51244a007b) pantheon.wingpanel-applications-menu: 2.10.2 -> 2.11.0
- [c6fae535](c6fae535ac) touchegg: 2.0.14 -> 2.0.15
- [626e0a13](626e0a13a3) git-credential-keepassxc: init at 0.10.1
- [58419cf3](58419cf37c) copper: mark as broken
- [ef0edbb5](ef0edbb5c4) doggo: enable darwin support
- [b70d4b90](b70d4b9009) gatling: mark as broken
- [eced8c3e](eced8c3ed4) maintainers: add lightquantum
- [5a9d6739](5a9d6739de) vimPlugins: update
- [70e77a3f](70e77a3fa6) vimPlugins.barbecue-nvim: init at 2022-11-16
- [dc6a5f24](dc6a5f24fe) ruff: 0.0.121 -> 0.0.122
- [62b78d1e](62b78d1ead) licenses: add bsd2WithViews
- [ca7fcd72](ca7fcd72f4) moar: init at 1.10.0
- [8ab639a6](8ab639a6b7) ocamlPackages.qcheck: 0.19.1 → 0.20
- [5470a0eb](5470a0ebf4) terraform-providers.cloudflare: 3.27.0 → 3.28.0
- [a4ca36ca](a4ca36cab1) terraform-providers.newrelic: 3.7.0 → 3.7.1
- [0ec17ef8](0ec17ef85e) terraform-providers.alicloud: 1.191.0 → 1.192.0
- [d16e4549](d16e4549e7) terraform-providers.tencentcloud: 1.78.10 → 1.78.11
- [2309cbb2](2309cbb25e) terraform-providers.baiducloud: 1.18.0 -> 1.18.2
- [895da4ca](895da4caae) matrix-appservice-discord: 1.0.0 -> 3.1.0
- [e322e383](e322e38379) matrix-appservice-discord: run pre/post hooks for overridden phases
- [647ed242](647ed242dc) nixos/adguardhome: allow for empty/unmanaged configs
- [90d7b881](90d7b88119) mautrix-facebook: unstable-2022-05-06 → 0.4.1
- [2f71de98](2f71de984e) release-notes: mention new `services.github-runners` & breaking changes
- [29dd883f](29dd883f5d) signal-desktop: 5.63.0 -> 5.63.1
- [b4b5dfd5](b4b5dfd542) vimPlugins.nvim-treesitter: check queries in passthru.tests
- [959585a2](959585a2ed) coyim: tweak platforms
- [6cb85df0](6cb85df090) lazpaint: mark as broken
- [7e180c1b](7e180c1b05) python310Packages.ytmusicapi: 0.22.0 -> 0.24.0
- [41d87c3f](41d87c3fb7) mopidy-ytmusic: use ytmusicapi 0.22.0
- [0f86e875](0f86e8758d) rymdport: init at 3.2.0
- [4bcb88fa](4bcb88fa26) jwx: 2.0.6 -> 2.0.7
- [5e38acae](5e38acae54) isrcsubmit: mark as broken
- [8b013b65](8b013b65a6) nixos/misc: fix grammar typo
- [8f1d59e2](8f1d59e2c5) python310Packages.bibtexparser: clean up python 2 dependencies ([NixOS/nixpkgs⁠#201457](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/201457))
- [a6151294](a6151294db) yosys: 0.22 -> 0.23
- [6e0c9dcd](6e0c9dcd87) mastodon: add ghuntley as maintainer
- [977a0c94](977a0c9460) minikube: 1.27.1 -> 1.28.0
- [2bb77684](2bb7768419) soft-serve: 0.4.0 -> 0.4.1
- [82230795](8223079569) nsncd: unstable-2021-10-20 -> unstable-2022-11-14
- [00287cc2](00287cc23d) qownnotes: update hash to upstream provided format
- [37b95c8d](37b95c8d49) qownnotes: 22.11.4 -> 22.11.5
- [4d68c2f0](4d68c2f0ba) remove dead `make-symlinks` builder
- [67aacbb9](67aacbb937) dwarf-therapist: restrict platforms to x86
- [8b713a99](8b713a9958) keeperrl: alpha28 -> alpha34
- [22b96bfb](22b96bfb35) dwarf-therapist: pass through `meta`
- [4e658264](4e65826439) surrealdb: init at 1.0.0-beta.8
- [9a7a5256](9a7a5256fd) xmlada: 22.0.0 -> 23.0.0
- [e3ef549a](e3ef549a59) gprbuild, gprbuild-boot: 22.0.0 -> 23.0.0
- [a1647c38](a1647c38b6) gnatcoll-core: 22.0.0 -> 23.0.0
- [30908712](3090871272) gnatcoll-{sql*,postgres,xref,db2ada}, gnatinspect: 22.0.0 -> 23.0.0
- [35b623b8](35b623b82b) gnatcoll-{lzma,gmp,iconv,omp,python3,readline,syslog,zlib}: 22.0.0 -> 23.0.0
- [14e0c0db](14e0c0dba2) gnatinspect, gnatcoll-db2ada: drop gnatcoll- prefix from pname
- [a834cc84](a834cc840f) ocamlPackages.ocaml_extlib: 1.7.8 -> 1.7.9
- [a110f08f](a110f08f12) ocamlPackages.extlib: rename from ocaml_extlib
- [0e332ecb](0e332ecb95) meerk40t: 0.8.0031 -> 0.8.1000
- [3313844e](3313844e4e) adw-gtk3: 4.0 -> 4.1
- [6c4166cc](6c4166ccb9) python3Packages.latexify-py: init at 0.2.0
- [dcfe88be](dcfe88be5c) oh-my-posh: 12.13.0 -> 12.13.3
- [432467df](432467df11) python310Packages.check-manifest: fix tests
- [b60a96d0](b60a96d063) clojure: 1.11.1.1189 -> 1.11.1.1200
- [f0a73a2a](f0a73a2a02) python310Packages.keyring: 23.9.3 -> 23.11.0
- [b88a8ae8](b88a8ae8ea) libdeltachat: 1.100.0 -> 1.101.0
- [216e161b](216e161b69) meilisearch: 0.29.1 -> 0.29.2
- [646ca73d](646ca73d81) python310Packages.aprslib: 0.7.1 -> 0.7.2
- [6995b471](6995b471b4) python310Packages.huawei-lte-api: 1.6.6 -> 1.6.7
- [7cb62293](7cb6229334) python310Packages.graphviz: 0.20 -> 0.20.1
- [a8d318b5](a8d318b572) vscode-extensions.matangover.mypy: init at 0.2.2
- [7eac2c13](7eac2c13e6) python310Packages.git-annex-adapter: fix tests
- [7cef955f](7cef955fab) vscode-extensions.thenuprojectcontributors.vscode-nushell-lang: init at 0.7.0
- [5df86d63](5df86d6305) vscode-extensions.bmalehorn.vscode-fish: init at 1.0.31
- [80e1bfb0](80e1bfb034) zfp: 0.5.5 -> 1.0.0, fix issues
- [2fcfc5f3](2fcfc5f3c1) picom: 9.1 -> 10
- [a29510ba](a29510ba1a) duckdb: 0.5.1 -> 0.6.0
- [6785dae7](6785dae748) nixos/picom: remove experimentalBackends option
- [eb8b2d71](eb8b2d7142) nixos/docs: document picom module changes
- [667767d4](667767d439) samba4: 4.17.2 -> 4.17.3
- [bd9a5606](bd9a5606b4) linux: 5.10.154 -> 5.10.155
- [63adc7fa](63adc7fafe) linux: 5.15.78 -> 5.15.79
- [4dabd9c3](4dabd9c39b) linux: 6.0.8 -> 6.0.9
- [684ffc10](684ffc109e) cri-o: refactor wrapper
- [a0c079f6](a0c079f652) podman: refactor wrapper
- [1d6f6c0e](1d6f6c0ec6) buildah: refactor wrapper
- [47709a98](47709a986a) psst: unstable-2022-05-19 -> 2022-10-13
- [5f4cfa67](5f4cfa67e6) ipcalc: add patch to disable tests failing in Darwin sandbox
- [e216dbeb](e216dbebfd) radioboat: 0.2.2 -> 0.2.3
- [02210afe](02210afe4f) imgui: 1.88 -> 1.89
- [c3571072](c35710721b) cava: 0.8.2 -> 0.8.3
- [f209de7e](f209de7ef2) operator-sdk: 1.25.1 -> 1.25.2
- [bd713dae](bd713daea6) oxker: 0.1.6 -> 0.1.7
- [a0cea97e](a0cea97ebe) netbird: 0.10.7 -> 0.10.8
- [47a678b5](47a678b594) redli: 0.6.0 -> 0.7.0
- [7b70b812](7b70b81224) ferium: 4.2.1 -> 4.2.2
- [3ac91d27](3ac91d2719) libplctag: 2.5.3 -> 2.5.4
- [b9d8e648](b9d8e64847) goeland: 0.11.0 -> 0.12.1
- [62fcb867](62fcb86736) datree: 1.7.3 -> 1.8.0
- [e26059fb](e26059fb71) brev-cli: 0.6.170 -> 0.6.176
- [c089e2b9](c089e2b917) melt: 0.4.1 -> 0.5.0
- [3a86856a](3a86856a13) gh-dash: 3.4.2 -> 3.5.1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-18 01:56:36 +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%