start move steam to seperate module

This commit is contained in:
Noa Aarts 2024-05-11 10:25:05 +02:00
parent 11b9c3de44
commit 6f4ec604ab
4 changed files with 88 additions and 65 deletions

View file

@ -5,13 +5,14 @@ in
{
options.modules.games = {
enable = lib.mkEnableOption "enable gaming services";
minecraft.enable = lib.mkEnableOption "enable minecraft";
};
imports = [
./minecraft.nix
];
config = lib.mkIf cfg.enable {
home.packages = [
pkgs.prismlauncher
];
modules.games.minecraft.enable = true;
};
}