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.username = "chase";
|
||||||
home.homeDirectory = "/home/chase";
|
home.homeDirectory = "/home/chase";
|
||||||
@@ -12,8 +16,8 @@
|
|||||||
userDirs.enable = true;
|
userDirs.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".emacs.d/early-init.el".source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el;
|
xdg.configFile."emacs/early-init.el".source = config.lib.file.mkOutOfStoreSymlink earlyInitPath;
|
||||||
home.file.".emacs.d/init.el".source = config.lib.file.mkOutOfStoreSymlink ./emacs/init.el;
|
xdg.configFile."emacs/init.el".source = config.lib.file.mkOutOfStoreSymlink initPath;
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Reference in New Issue
Block a user