Commit graph

14 commits

Author SHA1 Message Date
Marien Zwart
727bcf40e4
Add LICENSE (and license headers) 2024-04-28 12:26:05 +10:00
Marien Zwart
d9aad25bec
Add emacsWithDoom to overlay 2024-04-27 16:14:28 +10:00
Marien Zwart
1399755050
Require init.el exists
Although a completely empty DOOMDIR seems to work (at least for build
purposes), I doubt Doom actually supports this. And it requires some
extra checks on our side as well.

Just check in a trivial DOOMDIR and use that instead.
2024-04-27 14:53:17 +10:00
Marien Zwart
f150fe6c89
Expose doomEmacs as an overlay
Exposing it as a package was (at least according to `nix flake check`)
incorrect.

This means we now use the user's nixpkgs's `pkgs.callPackage` instead of
our own, but I think that's ok.
2024-04-25 23:27:49 +10:00
Marien Zwart
8a36d1e188
Set doom-local-dir
Although not used much with doomProfile set, the default (.local in the
Doom source tree) will not work.

Currently straight-base-dir ends up relative to this, although that may
change.
2024-04-08 21:43:54 +10:00
Marien Zwart
0719e304b4
Make doomDir mandatory but possibly empty
Having this empty only really makes sense for minimal/full test builds.

Also, /var/empty was not doing what it looks like (it's not accessible
from inside the build sandbox). Use nixpkgs's emptyDirectory instead.
2024-04-07 14:12:53 +10:00
Marien Zwart
68aa201f9b
Supply doomSource 2024-04-06 23:52:19 +11:00
Marien Zwart
03769febeb
Drop flake-parts
It's not really doing much for me, and it might be getting in the way of
my attempt at exposing a non-package in the `packages` flake output.
2024-04-06 23:41:35 +11:00
Marien Zwart
dbeda09006
First cut at making it usable from flakes 2024-04-06 22:48:59 +11:00
Marien Zwart
6c260297ee
Rename package.nix to doom.nix 2024-03-31 15:39:43 +11:00
Marien Zwart
1d571bb2d6
Store full user DOOMDIR
I was hoping to avoid this but it does not seem practical: I'm pretty
sure I need the user module in the store to override its packages.el,
and Doom does not separate the user module and doom-user-dir.
2024-03-30 23:59:56 +11:00
Marien Zwart
e4ab09ecc6
Add example (based on my own config) 2024-03-18 21:02:41 +11:00
Marien Zwart
a01e4a7964
Make emacs-overlay follow our nixpkgs, update deps 2024-03-18 20:52:48 +11:00
Marien Zwart
47e1bba41e
Snapshot: all dependencies for doom-full build
They don't all work, and the actual Doom integration isn't there yet...
2024-03-04 01:29:47 +11:00