add prismlauncher in games module

This commit is contained in:
Noa Aarts 2024-04-23 09:27:25 +02:00
parent 6aa1340398
commit d4fca6cd0e
2 changed files with 19 additions and 0 deletions

17
modules/games/default.nix Normal file
View file

@ -0,0 +1,17 @@
{ lib, config, pkgs}:
let
cfg = config.modules.games;
in
{
options.modules.games = {
enable = lib.mkEnableOption "enable gaming services";
};
config = lib.mkIf cfg.enable {
home.packages = [
pkgs.prismlauncher
];
};
}