Back to ES-DE

This commit is contained in:
Jan-Bulthuis committed 2025-01-26 15:11:52 +01:00
1 parent b3298359b4
commit cb35b1afd9
7 files changed
+54 -49

No files matched your search

+1 -1
View File
@@ -3,8 +3,8 @@
{
imports = [
./emulators/ryujinx.nix
./launchers/es-de.nix
./launchers/modrinth.nix
./launchers/pegasus.nix
./launchers/steam.nix
];
}
+26
View File
@@ -0,0 +1,26 @@
{
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 {
home.packages = with pkgs; [
emulationstation-de
];
home.sessionVariables = {
ESDE_APPDATA_DIR = "$HOME/.config/ES-DE";
};
};
}
-23
View File
@@ -1,23 +0,0 @@
{
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
];
};
}