diff options
Diffstat (limited to 'nixos/parts')
-rw-r--r-- | nixos/parts/dev.nix | 5 | ||||
-rw-r--r-- | nixos/parts/graphical.nix | 5 |
2 files changed, 10 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 diff --git a/nixos/parts/graphical.nix b/nixos/parts/graphical.nix index a032ddf..990cd9e 100644 --- a/nixos/parts/graphical.nix +++ b/nixos/parts/graphical.nix @@ -8,6 +8,11 @@ }; programs.ssh.startAgent = true; + environment.sessionVariables = { + # Tell .zshrc to source zshrc-graphical.sh. + MYNIX_GRAPHICAL = "true"; + }; + environment.systemPackages = with pkgs; [ # CLI tools brightnessctl |