From 79679fe81ae61c7b3c7aaab08dc7ff19fd956b18 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 1 Oct 2025 22:36:01 -0500 Subject: link .zprofile with mkOutOfStoreSymlink instead of running ln -s imperatively --- home-manager/clone-repos.nix | 10 +++------- todo | 1 - 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/home-manager/clone-repos.nix b/home-manager/clone-repos.nix index fcf96f7..aad6fab 100644 --- a/home-manager/clone-repos.nix +++ b/home-manager/clone-repos.nix @@ -28,13 +28,9 @@ in { (cloneMissing "${server}userscripts" "${src}/userscripts" "") (cloneMissing "${server}awesome" "${dotConfig}/awesome" "") ])); - linkZshProfile = lib.hm.dag.entryAfter ["writeBoundary"] '' - run ln -sf $VERBOSE_ARG ${dotConfig}/zsh/zprofile $HOME/.zprofile - ''; }; - #home.file.Zprofile = { - # source = "${dotConfig}/zsh/zprofile"; - # target = ".zprofile"; - #}; + home.file.".zprofile" = { + source = config.lib.file.mkOutOfStoreSymlink "${dotConfig}/zsh/zprofile"; + }; }; } diff --git a/todo b/todo index 5c87086..f97cc3f 100644 --- a/todo +++ b/todo @@ -14,7 +14,6 @@ install zsh as root # git-sync -zsh link profile with hm geoclue cache location geoclue continuously try to get location if not available link vim -> nvim -- cgit v1.2.3