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/graphical.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/parts/graphical.nix') 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 -- cgit v1.2.3