Move emacs dir from thoom-emacs/ to emacs/

This commit is contained in:
tim.mccarthy committed 2024-10-03 14:45:33 -07:00
1 parent 8fdb6dca82
commit da83c7673a
8 files changed
+6 -5

No files matched your search

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6 -5
View File
@@ -1,8 +1,6 @@
{ config, lib, pkgs, ... }:
with config.lib.file;
let dotdir = "${config.home.homeDirectory}/.dotfiles";
isOnMac = pkgs.stdenv.hostPlatform.isDarwin;
emacsWithPackages = (pkgs.emacsPackagesFor pkgs.emacs29).emacsWithPackages;
let emacsWithPackages = (pkgs.emacsPackagesFor pkgs.emacs29).emacsWithPackages;
aspell = (pkgs.aspellWithDicts (d: [d.en]));
in
{
@@ -15,12 +13,15 @@ in
emacs-lsp-booster
aspell
];
# Macs need coreutils for dired to work
macPackages = basePackages ++ [ coreutils ];
in
if isOnMac then macPackages else basePackages;
if pkgs.stdenv.hostPlatform.isDarwin
then macPackages else basePackages;
xdg.configFile = {
"emacs".source = mkOutOfStoreSymlink "${dotdir}/thoom-emacs";
"emacs".source = mkOutOfStoreSymlink
"${config.home.homeDirectory}/.dotfiles/emacs";
};
# The aspell wrapper created by aspellWithDicts only wraps the