summaryrefslogtreecommitdiff
path: root/nixos/parts/dev.nix
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-12 08:14:18 +0100
committerMartin Fischer <martin@push-f.com>2024-12-12 08:14:18 +0100
commitd17efc051d99e27abd44655acaf508e360c41bac (patch)
treef83607c9378403270c9aca1f682a06cec7bb741b /nixos/parts/dev.nix
parent2cac94f9c3aa9797a8b86921cb01c96eee013a7f (diff)
refactor: move part-specifics out of .zshrc
Diffstat (limited to 'nixos/parts/dev.nix')
-rw-r--r--nixos/parts/dev.nix5
1 files changed, 5 insertions, 0 deletions
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