Moved to pegasus

This commit is contained in:
Jan-Bulthuis 2025-01-26 13:53:54 +01:00
parent 99928ddb16
commit b3298359b4
4 changed files with 25 additions and 29 deletions

View File

@ -3,8 +3,8 @@
{
imports = [
./emulators/ryujinx.nix
./launchers/es-de.nix
./launchers/modrinth.nix
./launchers/pegasus.nix
./launchers/steam.nix
];
}

View File

@ -1,27 +0,0 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.es-de;
in
{
options.modules.es-de = {
enable = mkEnableOption "Emulation Station Desktop Edition";
};
config = mkIf cfg.enable {
# TODO: Remove insecure package
nixpkgs.config.permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
];
home.packages = with pkgs; [
emulationstation-de
];
};
}

View File

@ -0,0 +1,23 @@
{
lib,
config,
pkgs,
...
}:
with lib;
let
cfg = config.modules.pegasus;
in
{
options.modules.pegasus = {
enable = mkEnableOption "Pegasus Frontend";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
pegasus-frontend
];
};
}

View File

@ -65,7 +65,7 @@
# Gaming
steam.enable = true;
modrinth.enable = true;
es-de.enable = true;
pegasus.enable = true;
ryujinx.enable = true;
# Media