about summary refs log tree commit diff
path: root/modules/darwin/emacs.nix
blob: fd322763e52b1fb07819e1485efe8b1344505078 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  config,
  lib,
  ...
}:
with lib; let
  cfg = config.nixfiles.modules.emacs;
in {
  config = mkIf cfg.enable {
    services.emacs = {
      enable = false; # TODO Figure out how to use this.
      inherit (config.hm.programs.doom-emacs) package;
    };
  };
}

Consider giving Nix/NixOS a try! <3