This commit is contained in:
Harald Hoyer 2024-01-11 10:26:46 +00:00
parent 66c05f9093
commit 45d6f4b0f3
205 changed files with 9040 additions and 342 deletions

View file

@ -0,0 +1,30 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.apps.doukutsu-rs;
desktopItem = pkgs.makeDesktopItem {
name = "doukutsu-rs";
desktopName = "doukutsu-rs";
genericName =
"A fully playable re-implementation of Cave Story (Doukutsu Monogatari) engine written in Rust.";
exec = "${pkgs.plusultra.doukutsu-rs}/bin/doukutsu-rs";
icon = ./icon.png;
type = "Application";
categories = [ "Game" "AdventureGame" ];
terminal = false;
};
in
{
options.plusultra.apps.doukutsu-rs = with types; {
enable = mkBoolOpt false "Whether or not to enable doukutsu-rs.";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs.plusultra; [
doukutsu-rs
desktopItem
];
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB