From 0cb3c0de657da4374e148cbc16ae47a8b6cdf5ca Mon Sep 17 00:00:00 2001 From: chase Date: Wed, 28 May 2025 22:24:08 -0400 Subject: [PATCH] 117 current 2025-05-28 22:12:38 25.11.20250527.4faa5f5 6.15.0 * --- home/home.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/home/home.nix b/home/home.nix index 05c84ab..2099da0 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1,7 +1,7 @@ { config, pkgs, nur, ... }: let - earlyInitPath = "/home/chase/nixos-config/home/emacs/early-init.el"; - initPath = "/home/chase/nixos-config/home/emacs/init.el"; + earlyInitPath = "emacs/early-init.el"; + initPath = "emacs/init.el"; in { @@ -9,15 +9,23 @@ in home.homeDirectory = "/home/chase"; home.stateVersion = "24.11"; + home.file = { + "scripts" = { + source = "scripts"; + recursive = true; + }; + }; + home.preferXdgDirectories = true; xdg = { enable = true; userDirs.enable = true; + configFile = { + "emacs/early-init.el".source = config.lib.file.mkOutOfStoreSymlink earlyInitPath; + "emacs/init.el".source = config.lib.file.mkOutOfStoreSymlink initPath; + }; }; - - 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;