feat: enable lutris
This commit is contained in:
parent
8c0af2c239
commit
b69713e7fc
2 changed files with 15 additions and 0 deletions
|
|
@ -6,13 +6,16 @@ in
|
|||
options.modules.games = {
|
||||
enable = lib.mkEnableOption "enable gaming services";
|
||||
minecraft.enable = lib.mkEnableOption "enable minecraft";
|
||||
lutris.enable = lib.mkEnableOption "enable lutris";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./minecraft.nix
|
||||
./lutris.nix
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
modules.games.minecraft.enable = true;
|
||||
modules.games.lutris.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue