add prismlauncher in games module
This commit is contained in:
parent
6aa1340398
commit
d4fca6cd0e
2 changed files with 19 additions and 0 deletions
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