From 96ce6cf7f2d9b8522da24c19d7e10427e118292a Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Sat, 18 Oct 2025 01:01:01 -0500 Subject: modules/default: Unify environment variable settings --- modules/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'modules') diff --git a/modules/default.nix b/modules/default.nix index 4baf4b7..a592966 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -38,9 +38,10 @@ environment.pathsToLink = [ "/include" ]; environment.variables = { - "PKG_CONFIG_PATH" = "/run/current-system/sw/lib/pkgconfig"; - "C_INCLUDE_PATH" = "/run/current-system/sw/include"; - "LIBRARY_PATH" = "/run/current-system/sw/lib"; + PKG_CONFIG_PATH = "/run/current-system/sw/lib/pkgconfig"; + C_INCLUDE_PATH = "/run/current-system/sw/include"; + LIBRARY_PATH = "/run/current-system/sw/lib"; + SASL_PATH = "/run/current-system/sw/lib/sasl2"; }; services.udev.extraRules = '' @@ -51,10 +52,6 @@ HISTIGNORE="*INSIDE_EMACS*:$HISTIGNORE" ''; - environment.variables = { - SASL_PATH = "/run/current-system/sw/lib/sasl2"; - }; - nix = { channel.enable = false; #registry.nixpkgs.flake = nixpkgs; -- cgit v1.2.3