First working doom emacs config

This commit is contained in:
marc
2022-11-13 17:46:29 +01:00
parent 4577adc53f
commit f2f5227384
10 changed files with 232 additions and 74 deletions

View File

@@ -9,6 +9,7 @@
discord.enable = true;
spotify.enable = true;
};
editors.emacs.enable = true;
};
profiles = {
desktop.enable = true;

View File

@@ -2,5 +2,6 @@
{
imports = [
./emacs.nix
];
}

View File

@@ -0,0 +1,14 @@
{ config, inputs, lib, options, pkgs, ... }:
with lib;
let
cfg = config.samfelag.modules.editors.emacs;
in {
options.samfelag.modules.editors.emacs = {
enable = mkEnableOption "emacs";
};
config = mkIf cfg.enable {
# xdg.configFile."doom".src = ../../../config/doom;
};
}