add gaming module

This commit is contained in:
xunuwu 2024-08-27 14:48:55 +00:00
parent 6a9c9276bd
commit 193c64b772
No known key found for this signature in database
3 changed files with 27 additions and 6 deletions

View file

@ -0,0 +1,21 @@
{
pkgs,
config,
lib,
self,
...
}: let
cfg = config.xun.gaming;
in {
options.xun.gaming = {
krunker.enable = lib.mkEnableOption "krunker";
roblox.sobercookie = lib.mkEnableOption "";
};
config = lib.mkMerge [
(lib.mkIf cfg.krunker.enable {
home.packages = [
self.packages.${pkgs.system}.krunker
];
})
];
}