make prismlauncher module

This commit is contained in:
Sakooooo 2024-08-02 23:02:45 +04:00
parent 48ef9a229f
commit 3fbc7ba004
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 16 additions and 0 deletions

View file

@ -5,5 +5,6 @@
./wine
./grapejuice
./tetrio
./prismlauncher
];
}

View file

@ -0,0 +1,15 @@
{ lib, config, pkgs, options, ...}:
let
cfg = config.modules.desktop.game.prismlauncher;
in
{
options.modules.desktop.game.prismlauncher = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
prismlauncher
];
};
}