diff --git a/home/home.nix b/home/home.nix index 16cd08c..1f4fafd 100644 --- a/home/home.nix +++ b/home/home.nix @@ -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"; @@ -11,9 +15,9 @@ enable = true; 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;