Add PrismLauncher

This commit is contained in:
ItsDrike 2024-07-04 19:28:22 +02:00
parent 9e461e2c44
commit 7e3ad744c0
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
5 changed files with 28 additions and 0 deletions

View file

@ -6,5 +6,6 @@ _: {
./bars
./browsers
./file-managers
./games
];
}

View file

@ -0,0 +1,5 @@
_: {
imports = [
./prismlauncher.nix
];
}

View 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 ];
};
}

View file

@ -64,6 +64,7 @@
".config/WebCord"
".local/share/Smart Code ltd/Stremio"
".config/obs-studio"
".local/share/PrismLauncher"
# Tools
".ssh"
@ -216,6 +217,9 @@
coding = {
python.enable = true;
};
games = {
prismlauncher.enable = true;
};
};
services = {

View file

@ -61,5 +61,9 @@ in
coding = {
python.enable = mkEnableOption "Python coding utilities";
};
games = {
prismlauncher.enable = mkEnableOption "PrismLauncher";
};
};
}