feat(zeus): install Prism Launcher
This commit was merged in pull request #220.
This commit is contained in:
1 parent
7e2899ba6f
commit
7952afc5c5
2 files changed
+25
No files matched your search
@@ -0,0 +1,24 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
util,
|
||||
...
|
||||
}:
|
||||
# Prism Launcher manages Minecraft instances.
|
||||
let
|
||||
user = config.user.name;
|
||||
in
|
||||
{
|
||||
options.modules.desktop.apps.prismlauncher.enable =
|
||||
lib.mkEnableOption "Prism Launcher, a Minecraft launcher";
|
||||
|
||||
config = lib.mkIf config.modules.desktop.apps.prismlauncher.enable {
|
||||
home-manager.users.${user}.home.packages = [ pkgs.prismlauncher ];
|
||||
|
||||
registry.window-icon.${config.networking.hostName}.prismlauncher = {
|
||||
class = "PrismLauncher";
|
||||
icon = util.glyph "f11b";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user