diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 1f3be89..7751c5a 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -6,6 +6,7 @@ inputs.nixvim.homeManagerModules.nixvim ../../common/zsh.nix ../../modules/hyprland.nix + ../../modules/games ../../common/kitty.nix ../../common/git.nix ../../common/nvim/nvim.nix @@ -32,6 +33,7 @@ modules = { hyprland.enable = true; + games.enable = true; }; # The home.packages option allows you to install Nix packages into your diff --git a/modules/games/default.nix b/modules/games/default.nix new file mode 100644 index 0000000..3fbff5d --- /dev/null +++ b/modules/games/default.nix @@ -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 + ]; + + }; +}