mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 16:04:35 +00:00
Add PrismLauncher
This commit is contained in:
parent
9e461e2c44
commit
7e3ad744c0
|
@ -6,5 +6,6 @@ _: {
|
|||
./bars
|
||||
./browsers
|
||||
./file-managers
|
||||
./games
|
||||
];
|
||||
}
|
||||
|
|
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 ];
|
||||
};
|
||||
}
|
|
@ -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 = {
|
||||
|
|
|
@ -61,5 +61,9 @@ in
|
|||
coding = {
|
||||
python.enable = mkEnableOption "Python coding utilities";
|
||||
};
|
||||
|
||||
games = {
|
||||
prismlauncher.enable = mkEnableOption "PrismLauncher";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue