Make profile loader optional

Not heavily tested, but seems to work.
This commit is contained in:
Marien Zwart 2024-04-28 18:58:26 +10:00
parent 7c5ee461be
commit 87267ca824
No known key found for this signature in database
3 changed files with 29 additions and 8 deletions

View file

@ -47,6 +47,10 @@
doom-minimal = (pkgsWithEmacsOverlay.callPackages ./doom.nix (common // { doomDir = ./doomdirs/minimal; })).doomEmacs;
doom-full = (pkgsWithEmacsOverlay.callPackages ./doom.nix (common // { full = true; doomDir = ./doomdirs/minimal; })).doomEmacs;
doom-example = (pkgsWithEmacsOverlay.callPackages ./doom.nix (common // { doomDir = ./doomdirs/example; })).doomEmacs;
doom-example-without-loader = (pkgsWithEmacsOverlay.callPackages ./doom.nix (common // {
doomDir = ./doomdirs/example;
profileName = "";
})).doomEmacs;
});
overlays.default = final: prev:
let