From 8da00c2149547378e9f95a186bac6aeac0fd39ce Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Fri, 22 Nov 2024 08:18:55 -0800 Subject: [PATCH] ConfigureNix: place nix.conf before setting up the default Nix profile --- src/action/common/configure_nix.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/action/common/configure_nix.rs b/src/action/common/configure_nix.rs index 35b0ed23..01cabd32 100644 --- a/src/action/common/configure_nix.rs +++ b/src/action/common/configure_nix.rs @@ -169,16 +169,16 @@ impl Action for ConfigureNix { configure_shell_profile, } = self; - setup_default_profile - .try_execute() - .await - .map_err(Self::error)?; if let Some(place_nix_configuration) = place_nix_configuration { place_nix_configuration .try_execute() .await .map_err(Self::error)?; } + setup_default_profile + .try_execute() + .await + .map_err(Self::error)?; if let Some(configure_shell_profile) = configure_shell_profile { configure_shell_profile .try_execute()