System/home-manager/linux/programs/emacs.nix

16 lines
367 B
Nix
Raw Normal View History

2022-06-23 02:57:41 -04:00
{ config, lib, pkgs, inputs, ... }:
{
2022-09-04 04:19:50 -04:00
imports = [ ../../common/programs/emacs.nix ];
2022-06-23 02:57:41 -04:00
config = lib.mkIf config.nathan.programs.emacs.enable {
# Setup service
services.emacs = {
enable = config.nathan.programs.emacs.service;
2022-09-30 23:21:21 -04:00
package = config.nathan.programs.emacs.package;
2022-06-23 02:57:41 -04:00
client.enable = true;
2022-09-30 23:21:21 -04:00
defaultEditor = true;
};
2022-06-23 02:57:41 -04:00
};
}