From 653ee7dcf5263d68c23d722632818ea518eaf988 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 9 Feb 2026 14:00:41 -0500 Subject: [PATCH] cleanup --- home/home.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/home/home.nix b/home/home.nix index 16a3a6c..55bc372 100644 --- a/home/home.nix +++ b/home/home.nix @@ -31,11 +31,10 @@ in targets.genericLinux.enable = !isNixOS; news.display = "silent"; - home.file.".local/bin/scripts" = { - source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nix-config/scripts"; - recursive = false; - executable = true; - }; + home.activation.linkScripts = lib.hm.dag.entryAfter [ "writeBoundary" ] '' + $DRY_RUN_CMD mkdir -p "${config.home.homeDirectory}/.local/bin" + $DRY_RUN_CMD ln -sfn "${config.home.homeDirectory}/nix-config/scripts" "${config.home.homeDirectory}/.local/bin/scripts" + ''; programs.home-manager.enable = true;