Fixed symlinking, emacs config in XDG directory
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
{ config, pkgs, nur, ... }:
|
||||
{ config, pkgs, nur, ... }: let
|
||||
|
||||
earlyInitPath = "/home/chase/nixos-config/home/emacs/early-init.el";
|
||||
initPath = "/home/chase/nixos-config/home/emacs/init.el";
|
||||
|
||||
in
|
||||
{
|
||||
home.username = "chase";
|
||||
home.homeDirectory = "/home/chase";
|
||||
@@ -12,8 +16,8 @@
|
||||
userDirs.enable = true;
|
||||
};
|
||||
|
||||
home.file.".emacs.d/early-init.el".source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el;
|
||||
home.file.".emacs.d/init.el".source = config.lib.file.mkOutOfStoreSymlink ./emacs/init.el;
|
||||
xdg.configFile."emacs/early-init.el".source = config.lib.file.mkOutOfStoreSymlink earlyInitPath;
|
||||
xdg.configFile."emacs/init.el".source = config.lib.file.mkOutOfStoreSymlink initPath;
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
|
Reference in New Issue
Block a user