refactor configuration
This commit is contained in:
parent
d016cc67bc
commit
2aafcc9b49
17 changed files with 154 additions and 149 deletions
|
@ -1,16 +1,16 @@
|
|||
{ nix-doom-emacs, ... }: { config
|
||||
, pkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
{ config
|
||||
, pkgs
|
||||
, lib
|
||||
, ...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.dadada.home.emacs;
|
||||
in
|
||||
{
|
||||
imports = [ nix-doom-emacs.hmModule ];
|
||||
options.dadada.home.emacs = {
|
||||
enable = mkEnableOption "Enable dadada emacs config";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.doom-emacs = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue