Commit 2177ee9

HPCesia <me@hpcesia.com>
2026-09-13 15:07:07
dev: move agents to desktop only
1 parent 8640088
Changed files (1)
modules
users
hpcesia
modules/users/hpcesia/dev.nix
@@ -3,36 +3,39 @@
     map (aspect: (den.lib.policy.when cond aspect)) aspects;
 in {
   den.aspects.hpcesia = {
-    includes = includeWhen ({host, ...}: host.hasAspect den.aspects.dev) (with den.aspects; [
-      dev.agents.crush
-      dev.agents.opencode
-      dev.agents.pi
-      dev.direnv
-      dev.editor.helix
-      dev.jujutsu
-      dev.wakatime
-      dev.yazi
-      dev.zellij
-      dev.zoxide
+    includes =
+      (includeWhen ({host, ...}: host.hasAspect den.aspects.dev) (with den.aspects; [
+        dev.direnv
+        dev.editor.helix
+        dev.jujutsu
+        dev.wakatime
+        dev.yazi
+        dev.zellij
+        dev.zoxide
 
-      {
-        name = "hpcesia/dev/git";
-        hjem = {
-          xdg.config.files."git/config".value = {
-            url = {
-              "ssh://git@github.com/HPCesia" = {
-                insteadOf = "https://github.com/HPCesia";
-              };
-              "ssh://git@codeberg.org/HPCesia" = {
-                insteadOf = "https://codeberg.org/HPCesia";
-              };
-              "ssh://git@git.trin.one/HPCesia" = {
-                insteadOf = "https://git.trin.one/HPCesia";
+        {
+          name = "hpcesia/dev/git";
+          hjem = {
+            xdg.config.files."git/config".value = {
+              url = {
+                "ssh://git@github.com/HPCesia" = {
+                  insteadOf = "https://github.com/HPCesia";
+                };
+                "ssh://git@codeberg.org/HPCesia" = {
+                  insteadOf = "https://codeberg.org/HPCesia";
+                };
+                "ssh://git@git.trin.one/HPCesia" = {
+                  insteadOf = "https://git.trin.one/HPCesia";
+                };
               };
             };
           };
-        };
-      }
-    ]);
+        }
+      ]))
+      ++ (includeWhen ({host, ...}: (host.hasAspect den.aspects.dev) && (host.hasAspect den.aspects.desktop)) (with den.aspects; [
+        dev.agents.crush
+        dev.agents.opencode
+        dev.agents.pi
+      ]));
   };
 }