From a0ce3b810ef4a7404698c47efb6b2e2acc8986bc Mon Sep 17 00:00:00 2001 From: John Ogle Date: Wed, 5 Mar 2025 13:24:38 -0800 Subject: [PATCH] [home] Fix support for non-NixOS systems --- home/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/home.nix b/home/home.nix index 644b964..1478b57 100644 --- a/home/home.nix +++ b/home/home.nix @@ -81,8 +81,14 @@ in # org.gradle.daemon.idletimeout=3600000 # ''; + ".profile".text = '' + . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" + [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && . "$HOME/.nix-profile/etc/profile.d/nix.sh" + ''; }; + targets.genericLinux.enable = true; + # Home Manager can also manage your environment variables through # 'home.sessionVariables'. These will be explicitly sourced when using a # shell provided by Home Manager. If you don't want to manage your shell