Skip to content

Commit

Permalink
📦 Added superTux in the gaming role
Browse files Browse the repository at this point in the history
  • Loading branch information
theobori committed Nov 26, 2024
1 parent 46100cf commit 28a50d3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions modules/home/games/supertux/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
pkgs,
config,
lib,
namespace,
...
}:
let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt;

cfg = config.${namespace}.games.supertux;
in
{
options.${namespace}.games.supertux = {
enable = mkBoolOpt false "Enable supertux.";
};

config = mkIf cfg.enable { home.packages = with pkgs; [ superTux ]; };
}
1 change: 1 addition & 0 deletions modules/home/roles/gaming/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ in
vkquake = enabled;
ninvaders = enabled;
space-cadet-pinball = enabled;
supertux = enabled;
# xonotic = enabled;
};
};
Expand Down

0 comments on commit 28a50d3

Please sign in to comment.