From d14929980fb89c6cc274f570caa20a246bed4995 Mon Sep 17 00:00:00 2001 From: chase Date: Wed, 28 May 2025 22:40:21 -0400 Subject: [PATCH] 119 current 2025-05-28 22:40:15 25.11.20250527.4faa5f5 6.15.0 * --- home/home.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/home/home.nix b/home/home.nix index 59defdc..c5a47c5 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1,9 +1,5 @@ -{ config, pkgs, nur, ... }: let +{ config, pkgs, nur, ... }: - earlyInitPath = "./emacs/early-init.el"; - initPath = "./emacs/init.el"; - -in { home.username = "chase"; home.homeDirectory = "/home/chase"; @@ -16,14 +12,22 @@ in }; }; + home.sessionPath = [ + "$HOME/scripts" + ]; + 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; + "emacs/early-init.el" = { + source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el; + }; + "emacs/init.el" = { + source = config.lib.file.mkOutOfStoreSymlink ./emacs/early-init.el; + }; }; };