From d17efc051d99e27abd44655acaf508e360c41bac Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 12 Dec 2024 08:14:18 +0100 Subject: refactor: move part-specifics out of .zshrc --- nixos/parts/dev.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/parts/dev.nix') diff --git a/nixos/parts/dev.nix b/nixos/parts/dev.nix index e2ac1f6..aca8e78 100644 --- a/nixos/parts/dev.nix +++ b/nixos/parts/dev.nix @@ -1,6 +1,11 @@ { config, pkgs, ... }: { + environment.sessionVariables = { + # Tell .zshrc to source zshrc-dev.sh. + MYNIX_DEV = "true"; + }; + environment.systemPackages = with pkgs; [ rustup python313 -- cgit v1.2.3