add gaming module
This commit is contained in:
parent
6a9c9276bd
commit
193c64b772
3 changed files with 27 additions and 6 deletions
21
home-modules/xun/gaming/default.nix
Normal file
21
home-modules/xun/gaming/default.nix
Normal 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
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue