add prismlauncher in games module
This commit is contained in:
parent
6aa1340398
commit
d4fca6cd0e
2 changed files with 19 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
../../common/zsh.nix
|
../../common/zsh.nix
|
||||||
../../modules/hyprland.nix
|
../../modules/hyprland.nix
|
||||||
|
../../modules/games
|
||||||
../../common/kitty.nix
|
../../common/kitty.nix
|
||||||
../../common/git.nix
|
../../common/git.nix
|
||||||
../../common/nvim/nvim.nix
|
../../common/nvim/nvim.nix
|
||||||
|
|
@ -32,6 +33,7 @@
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
|
games.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
|
|
|
||||||
17
modules/games/default.nix
Normal file
17
modules/games/default.nix
Normal 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
|
||||||
|
];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue