start move steam to seperate module
This commit is contained in:
parent
11b9c3de44
commit
6f4ec604ab
4 changed files with 88 additions and 65 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue