blob: 65093a02d52f7374f56547e222a527c936293b9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ pkgs, inputs, config, lib, ...}: let
inherit (lib) mkEnableOption mkIf;
emacs = pkgs.callPackage ./package.nix {};
in {
options.santi-modules.emacs.enable = mkEnableOption "Enable emacs configuration";
config = mkIf config.santi-modules.emacs.enable {
nixpkgs.overlays = [ inputs.emacs-overlay.overlays.default ];
environment.systemPackages = [
emacs
];
fonts.packages = with pkgs; [
nerd-fonts.dejavu-sans-mono
];
};
}
|