summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Parri <simonparri@ganzeria.com>2025-10-18 01:01:01 -0500
committerSimon Parri <simonparri@ganzeria.com>2025-10-18 01:01:01 -0500
commit96ce6cf7f2d9b8522da24c19d7e10427e118292a (patch)
treeff7de799e4d96098c4c30fbe7b96044da258d7c1
parente0e276e2b5d468da3cce21cfef7d9f5430b2918b (diff)
downloadnixos-config-96ce6cf7f2d9b8522da24c19d7e10427e118292a.tar.gz
nixos-config-96ce6cf7f2d9b8522da24c19d7e10427e118292a.zip
modules/default: Unify environment variable settings
-rw-r--r--modules/default.nix11
1 files changed, 4 insertions, 7 deletions
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;