From b3298359b4a3022acacb1e81967123084941dd7d Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Sun, 26 Jan 2025 13:53:54 +0100 Subject: [PATCH] Moved to pegasus --- user-modules/gaming/default.nix | 2 +- user-modules/gaming/launchers/es-de.nix | 27 ----------------------- user-modules/gaming/launchers/pegasus.nix | 23 +++++++++++++++++++ users/jan.nix | 2 +- 4 files changed, 25 insertions(+), 29 deletions(-) delete mode 100644 user-modules/gaming/launchers/es-de.nix create mode 100644 user-modules/gaming/launchers/pegasus.nix diff --git a/user-modules/gaming/default.nix b/user-modules/gaming/default.nix index 4f5ae53..06affc9 100644 --- a/user-modules/gaming/default.nix +++ b/user-modules/gaming/default.nix @@ -3,8 +3,8 @@ { imports = [ ./emulators/ryujinx.nix - ./launchers/es-de.nix ./launchers/modrinth.nix + ./launchers/pegasus.nix ./launchers/steam.nix ]; } diff --git a/user-modules/gaming/launchers/es-de.nix b/user-modules/gaming/launchers/es-de.nix deleted file mode 100644 index 6969199..0000000 --- a/user-modules/gaming/launchers/es-de.nix +++ /dev/null @@ -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 - ]; - }; -} diff --git a/user-modules/gaming/launchers/pegasus.nix b/user-modules/gaming/launchers/pegasus.nix new file mode 100644 index 0000000..3221e60 --- /dev/null +++ b/user-modules/gaming/launchers/pegasus.nix @@ -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 + ]; + }; +} diff --git a/users/jan.nix b/users/jan.nix index 7958e6e..b6a3a6d 100644 --- a/users/jan.nix +++ b/users/jan.nix @@ -65,7 +65,7 @@ # Gaming steam.enable = true; modrinth.enable = true; - es-de.enable = true; + pegasus.enable = true; ryujinx.enable = true; # Media