From 440cb12ec5e47cec3cafccb9a5ba4734b3bbc5ac Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Tue, 19 Apr 2022 07:31:42 -0600 Subject: home, shenvs: implement home config local.workstation --- shenvs/config.nix | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'shenvs/config.nix') diff --git a/shenvs/config.nix b/shenvs/config.nix index ea699d3..eb5033f 100644 --- a/shenvs/config.nix +++ b/shenvs/config.nix @@ -1,10 +1,15 @@ -shenvs: { - gcKeep = with shenvs; [ - android-dev - dsp - el3310 - randall - tabas - tex - ]; +{ shenvs, config, lib }: with lib; { + gcKeep = with shenvs; let + common = [ + dsp + tex + ]; + + workstation = [ + android-dev + el3310 + randall + tabas + ]; + in common ++ optionals config.local.workstation workstation; } -- cgit v1.2.3