From ec596c5cf43d7adcf27ccdd41a0edd931bb97090 Mon Sep 17 00:00:00 2001 From: Timo Bingmann Date: Thu, 17 Jul 2025 21:07:58 -0700 Subject: [PATCH] install nix --- home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home.nix b/home.nix index 80ff7c3..08edb86 100644 --- a/home.nix +++ b/home.nix @@ -13,6 +13,7 @@ # Configure PATH for all shells, including non-interactive ones home.sessionPath = [ + "${config.home.homeDirectory}/.local/bin" "${config.home.homeDirectory}/.nix-profile/bin" "/nix/var/nix/profiles/default/bin" ]; @@ -30,6 +31,9 @@ # Set environment variables for all shells home.sessionVariables = { NIX_PATH = "${config.home.homeDirectory}/.nix-defexpr/channels:nixpkgs=${config.home.homeDirectory}/.nix-defexpr/channels/nixpkgs"; + + # Use bwrap for nix-portable + NP_RUNTIME = "bwrap"; }; # Create SSH environment file for non-interactive sessions @@ -41,6 +45,7 @@ # Packages to install home.packages = with pkgs; [ + nix eza ];