mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 04:34:33 +00:00
Add PrismLauncher
This commit is contained in:
parent
9e461e2c44
commit
7e3ad744c0
|
@ -6,5 +6,6 @@ _: {
|
||||||
./bars
|
./bars
|
||||||
./browsers
|
./browsers
|
||||||
./file-managers
|
./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"
|
".config/WebCord"
|
||||||
".local/share/Smart Code ltd/Stremio"
|
".local/share/Smart Code ltd/Stremio"
|
||||||
".config/obs-studio"
|
".config/obs-studio"
|
||||||
|
".local/share/PrismLauncher"
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
".ssh"
|
".ssh"
|
||||||
|
@ -216,6 +217,9 @@
|
||||||
coding = {
|
coding = {
|
||||||
python.enable = true;
|
python.enable = true;
|
||||||
};
|
};
|
||||||
|
games = {
|
||||||
|
prismlauncher.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -61,5 +61,9 @@ in
|
||||||
coding = {
|
coding = {
|
||||||
python.enable = mkEnableOption "Python coding utilities";
|
python.enable = mkEnableOption "Python coding utilities";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
games = {
|
||||||
|
prismlauncher.enable = mkEnableOption "PrismLauncher";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue