mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 22:30:42 +00:00
Add PrismLauncher
This commit is contained in:
parent
9e461e2c44
commit
7e3ad744c0
5 changed files with 28 additions and 0 deletions
5
home/programs/graphical/games/default.nix
Normal file
5
home/programs/graphical/games/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
imports = [
|
||||
./prismlauncher.nix
|
||||
];
|
||||
}
|
14
home/programs/graphical/games/prismlauncher.nix
Normal file
14
home/programs/graphical/games/prismlauncher.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.games.prismlauncher;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ prismlauncher ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue