summaryrefslogtreecommitdiff
path: root/shenvs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-04-19 07:31:42 -0600
committerAlejandro Soto <alejandro@34project.org>2022-04-19 07:31:42 -0600
commit440cb12ec5e47cec3cafccb9a5ba4734b3bbc5ac (patch)
treebb87bd57d2f944a333555e507d8b376fa3aa4eca /shenvs
parentb058943d07dad50cfa8c5907a3da06ffe9e1d227 (diff)
home, shenvs: implement home config local.workstation
Diffstat (limited to 'shenvs')
-rw-r--r--shenvs/config.nix23
1 files changed, 14 insertions, 9 deletions
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;
}