github-actions[bot] bfb05f5bea flake.lock: Updating 'nixpkgs (NixOS/nixpkgs)' - 52665b05 -> 8ba90bbc (#355)
### Changes for nixpkgs

On branch: nixpkgs-unstable
Commits: 52665b05cf...8ba90bbc63

- [28ba4691](28ba469101) python310Packages.jedi: 0.18.1 -> 0.18.2
- [79c00567](79c0056777) kidletime: Add dependency on wayland-protocols
- [a4b68c46](a4b68c4601) python310Packages.pyotp: 2.7.0 -> 2.8.0
- [aa542116](aa54211664) pritunl-client: 1.3.3370.14 -> 1.3.3373.6
- [1a1a65f8](1a1a65f882) python310Packages.metakernel: add changelog to meta
- [332debee](332debee1d) python310Packages.jedi: add changelog to meta
- [ced85c11](ced85c118b) python310Packages.param: 1.12.2 -> 1.12.3
- [bc556c9f](bc556c9f40) python310Packages.metakernel: add missing input
- [f291676c](f291676cac) python310Packages.omegaconf: add changelog to meta
- [473a3e69](473a3e6913) python310Packages.patiencediff: 0.2.10 -> 0.2.11
- [308f2df4](308f2df4d8) python310Packages.py-vapid: disable on older Python releases
- [e55d03ee](e55d03eeda)  python310Packages.param: add changelog to meta
- [ff3c906d](ff3c906dbc) proton-caller: 3.1.0 -> 3.1.1
- [d699da65](d699da6549) pscale: 0.124.0 -> 0.125.0
- [1148b1ec](1148b1ec89) pwninit: 3.2.0 -> 3.3.0
- [0227ca4e](0227ca4e88) pulumi: disable flaky test `TestPendingDeleteOrder`
- [54a72985](54a7298517) qFlipper: 1.2.1 -> 1.2.2
- [512101d3](512101d325) regclient: remove broken flag on darwin as it works
- [0509b93a](0509b93a6a) python310Packages.pglast: 3.17 -> 4.0
- [26063c2a](26063c2a10) python310Packages.phik: 0.12.2 -> 0.12.3
- [a9617234](a96172348e) transmission: add package option
- [9abe2d3b](9abe2d3b61) ma1sd: 2.4.0 -> 2.5.0
- [1b746236](1b74623693) ntfy-sh: expose updateScript, update node packages
- [ad2ee81c](ad2ee81cad) python3Packages.add-trailing-comma: 2.3.0 -> 2.4.0
- [5e117045](5e11704593) nixos/ntfy-sh: fix & expose nixos test
- [85ef2ebb](85ef2ebb5c) material-kwin-decorations: disable -Werror
- [fed6d1aa](fed6d1aaba) acorn: init at 0.4.2
- [4bdf1d69](4bdf1d6982) imaginary: init at 1.2.4
- [af7927c8](af7927c843) vimPlugins.nvim-treesitter: add missing meta entries
- [59bcb2e3](59bcb2e371) perlPackages.SysVirt: 8.9.0 -> 8.10.0
- [0ef86487](0ef86487fd) python310Packages.atenpdu: 0.3.5 -> 0.3.6
- [533ee911](533ee91117) nginxMainline: 1.23.2 -> 1.23.3
- [155c741a](155c741a31) python310Packages.mkdocstrings: 0.19.0 -> 0.19.1
- [37e95078](37e95078fd) python310Packages.mkdocstrings: add changelog to meta
- [8eeed836](8eeed8360e) python310Packages.pyairvisual: 2022.11.1 -> 2022.12.0
- [1c3d404e](1c3d404e30) vkbasalt: 0.3.2.6 -> 0.3.2.8
- [a65b7972](a65b7972dd) cpp-jwt: init at 1.4
- [dad3f747](dad3f74753) python3Packages.wandb: fix build
- [9fcef193](9fcef1939c) linux_xanmod: 5.15.75 -> 5.15.81
- [48beb95e](48beb95e21) linux_xanmod_latest: 6.0.7 -> 6.1.0
- [7131d183](7131d1832c) gnome.mutter: Drop unneeded patch
- [7bb8a420](7bb8a42095) nixos/vim: fix example package
- [6a108b2f](6a108b2f76) gnome.mutter: use finalAttrs pattern
- [ce7ac9ba](ce7ac9ba4d) oh-my-posh: 12.26.1 -> 12.26.2
- [897fa059](897fa059a1) polkit: only fix mocklibc when doing tests
- [0497d5b9](0497d5b99f) vaultwarden: Add update script to keep web vault in sync
- [5ad720fe](5ad720fef4) vaultwarden.webvault: 2022.11.1 -> 2022.10.0
- [d37dca5f](d37dca5f14) nixos/tests/vaultwarden: Update selenium tests for 2022.10.0
- [074623d9](074623d912) istioctl: 1.16.0 -> 1.16.1
- [428382fe](428382fe47) rtl8821cu: 2022-05-07 -> 2022-12-07
- [93abeba9](93abeba9f1) rust-analyzer-unwrapped: 2022-12-05 -> 2022-12-12
- [21192f2c](21192f2cba) sbctl: 0.9 -> 0.10
- [a51b4764](a51b476409) shopify-themekit: 1.3.0 -> 1.3.1
- [9dd65f0e](9dd65f0e33) sonobuoy: 0.56.12 -> 0.56.13
- [a92a680e](a92a680e59) grype: 0.53.1 -> 0.54.0
- [6ebb38b6](6ebb38b66d) python310Packages.aioshelly: 5.1.1 -> 5.2.0
- [7fb6e1e0](7fb6e1e054) qovery-cli: add changelog to meta
- [3627fc70](3627fc707f) qovery-cli: 0.46.4 -> 0.46.7
- [5046b3bd](5046b3bd1a) librewolf: 107.0.1-2 -> 108.0-1
- [e2b79f08](e2b79f08bd) gpsd: add listenany option
- [3b9ab25c](3b9ab25c14) bottles: 2022.11.14 -> 2022.12.14
- [e97506eb](e97506eb94) tar2ext4: 0.9.5 -> 0.9.6
- [40fe7f93](40fe7f9330) tauon: 7.4.5 -> 7.4.6
- [480e4ebd](480e4ebdaa) kubernetes-helm: 3.10.2 -> 3.10.3
- [4a817788](4a81778866) consul: 1.14.2 -> 1.14.3
- [fc78698d](fc78698ddd) rgp: 1.13.1 -> 1.14
- [4938e72a](4938e72add) gopls: 0.10.1 -> 0.11.0
- [a7f7d5d6](a7f7d5d637) rapidfuzz-cpp: 1.10.1 -> 1.10.4
- [a981c15a](a981c15a0e) python3Packages.aioesphomeapi: 13.0.1 -> 13.0.2
- [351bd301](351bd30147) home-assistant: 2022.12.5 -> 2022.12.6
- [22742335](22742335f1) telegraf: 1.24.4 -> 1.25.0
- [ac4bf61b](ac4bf61b9a) terragrunt: 0.42.3 -> 0.42.4
- [cb975170](cb97517032) todoist: 0.16.0 -> 0.17.0
- [a3f4f11a](a3f4f11aed) tut: 1.0.24 -> 1.0.25
- [6de54be9](6de54be915) below: init at 0.6.3
- [bfc60c93](bfc60c9362) nixos/wireplumber: assert hsphfpd to be disabled
- [6f6dbe2d](6f6dbe2dcd) coturn: override libevent openssl
- [c8528b82](c8528b82d2) coturn: don't build against openssl_1_1 anymore
- [3bd200b2](3bd200b2aa) tmuxPlugins.fuzzback: init at unstable-2022-11-21
- [dfac3e44](dfac3e4480) healthchecks: 2.4.1 -> 2.5
- [410ae09c](410ae09cc3) github-runner: 2.299.1 -> 2.300.0 ([NixOS/nixpkgs⁠#206107](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/206107))
- [756a5e6b](756a5e6b74) CONTRIBUTING: loose squash merging rules ([NixOS/nixpkgs⁠#204988](http://r.duckduckgo.com/l/?uddg=https://github.com/NixOS/nixpkgs/issues/204988))
- [e6bac956](e6bac9563a) steghide: init at 0.5.1.1
- [1666dc68](1666dc68b7) qgis: drop unused xlibsWrapper inputs
- [dce61952](dce61952e2) qgis-ltr: drop unused xlibsWrapper inputs
- [b3f9e498](b3f9e49833) cargo-generate: 0.17.3 -> 0.17.4
- [f0f06846](f0f06846e9) python310Packages.pyrdfa3: patch CVE-2022-4396
- [3dda6800](3dda6800a6) python310Packages.pynetbox: 6.6.2 -> 7.0.0
- [e0f2dcda](e0f2dcdab6) python310Packages.pyomo: 6.4.3 -> 6.4.4
- [f2711088](f2711088ee) python310Packages.bonsai: init at 5.1.1
- [9630cb38](9630cb38d9) python310Packages.pikepdf: 6.2.4 -> 6.2.5
- [9a6a5c7c](9a6a5c7cf9) python310Packages.mastodon-py: 1.7.0 -> 1.8.0
- [03339a58](03339a5840) python310Packages.safety: 2.3.3 -> 2.3.5
- [5c6b747f](5c6b747f08) python310Packages.micloud: 0.5 -> 0.6
- [73a94273](73a9427360) python310Packages.cartopy: 0.21.0 -> 0.21.1
- [5953f692](5953f6926f) python310Packages.bashlex: 0.15 -> 0.16
- [821f4baa](821f4baa8c) felix-fm: 2.2.0 -> 2.2.1
- [a715b7b9](a715b7b909) v2ray-geoip: 202212080044 -> 202212150047
- [88b3cc8e](88b3cc8ecc) wasmer: 3.0.2 -> 3.1.0
- [1cc979c2](1cc979c20f) python310Packages.here-routing: init at 0.2.0
- [883d08f1](883d08f116) python310Packages.here-transit: init at 1.2.0
- [0ef35886](0ef358869c) home-assistant: support here_travel_time component
- [062b7f42](062b7f42fd) ocamlPackages.lustre-v6: 6.103.3 -> 6.107.1
- [b28b8118](b28b8118f2) ocamlPackages.sha: 1.15.1 → 1.15.2
- [1218bada](1218bada61) onedrive: 2.4.21 -> 2.4.22
- [8549e49c](8549e49c18) python2Packages.scandir: revert removal
- [6ea94a2c](6ea94a2cf8) treewide: revert removal of references to pythonPackages.scandir
- [2230108f](2230108f55) python2Packages.typing: revert removal
- [7131caca](7131caca18) python310Packages.pytorch-pfn-extras: 0.6.2 -> 0.6.3
- [bfed0203](bfed02034d) appthreat-depscan: 3.3.0 -> 3.4.0
- [6e37cb64](6e37cb64b2) bacon: 2.2.5 -> 2.2.7
- [0f5996b5](0f5996b524) below: don't use aliases
- [42c2f2f2](42c2f2f252) vbam: 2.1.4 -> 2.1.5 + enable GUI
- [9eebb01f](9eebb01ff5) vbam: add netali to maintainers
- [234c9883](234c988374) nc4nix: unstable-2022-11-30 -> unstable-2022-12-07
- [25c7f56c](25c7f56c72) cargo-release: 0.24.0 -> 0.24.1
- [41698c76](41698c76ae) castxml: 0.5.0 -> 0.5.1
- [e2bdcb8f](e2bdcb8f1f) vscode-extensions.bmewburn.vscode-intelephense-client: init at 1.8.2
- [2ce4eabb](2ce4eabb03) python310Packages.python-telegram-bot: 13.14 -> 13.15

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