From dc830d6862b588f128de0d37cb84a3f2c0367c26 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Mon, 30 Jun 2025 11:32:34 +0200 Subject: [PATCH] feat: Add nix profile shell sripts to /etc/profile.d --- config.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.scm b/config.scm index 53d0480..8a7a390 100644 --- a/config.scm +++ b/config.scm @@ -231,6 +231,11 @@ (extra-config '("experimental-features = nix-command flakes\n" "extra-platforms = aarch64-linux i686-linux")))) + ;; TODO: contribute this to the nix service + (simple-service 'nix-etc-d etc-profile-d-service-type + (list + (file-append nix "/etc/profile.d/nix-daemon.sh") + (file-append nix "/etc/profile.d/nix.sh"))) ;; Vivado or Matlab can crash because they open too many files (service pam-limits-service-type -- 2.49.0