Commit 61a981f

HPCesia <me@hpcesia.com>
2026-06-22 17:59:00
Add game role
1 parent c368e73
Changed files (3)
modules
hosts
roles
users
hpcesia
modules/hosts/kevin/default.nix
@@ -26,6 +26,7 @@
       den.aspects.roles.default
       den.aspects.roles.desktop
       den.aspects.roles.develop
+      den.aspects.roles.game
     ];
   };
 }
modules/roles/game.nix
@@ -0,0 +1,6 @@
+{den, ...}: {
+  den.aspects.roles.game = {
+    includes = with den.aspects; [
+    ];
+  };
+}
modules/users/hpcesia/default.nix
@@ -33,6 +33,10 @@
           desktop.input-method.fcitx5
           desktop.kdeconnect
           desktop.terminal.foot
+        ]))
+      ++ (den.lib.policy.when
+        ({host, ...}: host.hasAspect den.aspects.roles.game)
+        (with den.aspects; [
         ]));
   };