Swap home.nix to thoom-emacs config
This commit is contained in:
1 parent
8e75430b0b
commit
9965ccccfd
4 files changed
+12
-7
No files matched your search
@@ -1,14 +1,18 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
with config.lib.file;
|
||||
let dotdir = "${config.home.homeDirectory}/.dotfiles";
|
||||
in
|
||||
{
|
||||
programs.emacs.enable = true;
|
||||
programs.emacs.package = pkgs.emacs;
|
||||
programs.emacs.extraPackages = epkgs: [ epkgs.vterm ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# Needed on macOS because Emacs wants the GNU version of some utilities like ls
|
||||
coreutils
|
||||
# Required by nativeComp but not a dependency for some reason
|
||||
zstd
|
||||
nodePackages.pyright
|
||||
];
|
||||
|
||||
xdg.configFile = {
|
||||
"emacs".source = mkOutOfStoreSymlink "${dotdir}/thoom-emacs";
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user